Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Get rid of win9x support #140

Merged
merged 1 commit into from

2 participants

@denis-sh

A friend of D-Programming-Language/phobos#406.

It reverts creation of an unfinished function that is never using.

@complexmath complexmath merged commit a783391 into D-Programming-Language:master
@ghost Unknown referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
@ghost Unknown referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
@ghost Unknown referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 24, 2012
  1. @denis-sh

    Revert "applying old change for Win98 compat"

    denis-sh authored
    This reverts commit b23be8d.
This page is out of date. Refresh to see the latest.
Showing with 0 additions and 11 deletions.
  1. +0 −11 src/rt/dmain2.d
View
11 src/rt/dmain2.d
@@ -28,7 +28,6 @@ version (Windows)
{
private import core.stdc.wchar_;
- extern (Windows) uint GetVersion();
extern (Windows) alias int function() FARPROC;
extern (Windows) FARPROC GetProcAddress(void*, in char*);
extern (Windows) void* LoadLibraryA(in char*);
@@ -38,16 +37,6 @@ version (Windows)
extern (Windows) wchar_t** CommandLineToArgvW(wchar_t*, int*);
extern (Windows) export int WideCharToMultiByte(uint, uint, wchar_t*, int, char*, int, char*, int);
pragma(lib, "shell32.lib"); // needed for CommandLineToArgvW
-
- wchar_t** doCommandLineToArgvW(wchar_t* cmdLine, int* numArgs)
- {
- if (GetVersion() < 0x80000000)
- {
- return CommandLineToArgvW(cmdLine, numArgs);
- }
- // TODO: Handle this manually for Win98 and earlier.
- return CommandLineToArgvW(cmdLine, numArgs);
- }
}
version (all)
Something went wrong with that request. Please try again.