Skip to content

Commit

Permalink
Revert "Merge pull request dlang#227 from dawgfoto/fix8132"
Browse files Browse the repository at this point in the history
This reverts commit 4b59883, reversing
changes made to 1827a50.
  • Loading branch information
MartinNowak committed May 29, 2012
1 parent 4b59883 commit 0846e5d
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions src/core/sys/windows/windows.d
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
*/
module core.sys.windows.windows;

version=UNICODE;

extern (Windows) nothrow:

Expand All @@ -38,16 +37,8 @@ extern (Windows) nothrow:
alias WCHAR* LPWCH, LPWSTR, PWCH, PWSTR;
alias const(WCHAR)* LPCWCH, LPCWSTR, PCWCH, PCWSTR;

version (UNICODE)
{
alias WCHAR* LPTCH, LPTSTR, PTCH, PTSTR;
alias const(WCHAR)* LPCTCH, LPCTSTR, PCTCH, PCTSTR;
}
else
{
alias CHAR* LPTCH, LPTSTR, PTCH, PTSTR;
alias const(CHAR)* LPCTCH, LPCTSTR, PCTCH, PCTSTR;
}

alias uint DWORD;
alias ulong DWORD64;
Expand Down Expand Up @@ -3080,8 +3071,8 @@ enum : uint
WAIT_FAILED = uint.max,
}

export HANDLE CreateSemaphoreA(LPSECURITY_ATTRIBUTES lpSemaphoreAttributes, LONG lInitialCount, LONG lMaximumCount, LPCSTR lpName);
export HANDLE OpenSemaphoreA(DWORD dwDesiredAccess, BOOL bInheritHandle, LPCSTR lpName);
export HANDLE CreateSemaphoreA(LPSECURITY_ATTRIBUTES lpSemaphoreAttributes, LONG lInitialCount, LONG lMaximumCount, LPCTSTR lpName);
export HANDLE OpenSemaphoreA(DWORD dwDesiredAccess, BOOL bInheritHandle, LPCTSTR lpName);
export BOOL ReleaseSemaphore(HANDLE hSemaphore, LONG lReleaseCount, LPLONG lpPreviousCount);

struct COORD {
Expand Down

0 comments on commit 0846e5d

Please sign in to comment.