Permalink
Browse files

Revert "Merge pull request #227 from dawgfoto/fix8132"

This reverts commit 4b59883, reversing
changes made to 1827a50.
  • Loading branch information...
1 parent 4b59883 commit 0846e5d0e89aa3c1f24c7977b964f6aabb16e9b2 @MartinNowak MartinNowak committed May 29, 2012
Showing with 2 additions and 11 deletions.
  1. +2 −11 src/core/sys/windows/windows.d
@@ -14,7 +14,6 @@
*/
module core.sys.windows.windows;
-version=UNICODE;
extern (Windows) nothrow:
@@ -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;
@@ -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 {

0 comments on commit 0846e5d

Please sign in to comment.