diff options
author | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2012-04-30 00:44:48 +0000 |
---|---|---|
committer | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2012-04-30 00:44:48 +0000 |
commit | c9306c71eddb0cf1f6e3b02cb1d4550331015de1 (patch) | |
tree | cb037fab85436b497c79074ae4e68e641f3e455c | |
parent | d578467671df5214ce2de0c311374fd84477d269 (diff) | |
download | newlib-c9306c71eddb0cf1f6e3b02cb1d4550331015de1.zip newlib-c9306c71eddb0cf1f6e3b02cb1d4550331015de1.tar.gz newlib-c9306c71eddb0cf1f6e3b02cb1d4550331015de1.tar.bz2 |
2012-04-29 Jan Ringos <tringi@users.sf.net>
* include/winbase.h (GetModuleHandleEx[A/W]): Correct version guard.
-rw-r--r-- | winsup/w32api/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/w32api/include/winbase.h | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 72f35ee..60fcacd 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,7 @@ +2012-04-29 Jan Ringos <tringi@users.sf.net> + + * include/winbase.h (GetModuleHandleEx[A/W]): Correct version guard. + 2012-04-28 LRN <l_r_nightmare@users.sf.net> * include/shobjidl.h: New file. diff --git a/winsup/w32api/include/winbase.h b/winsup/w32api/include/winbase.h index 3d20679..a615470 100644 --- a/winsup/w32api/include/winbase.h +++ b/winsup/w32api/include/winbase.h @@ -1648,7 +1648,7 @@ WINBASEAPI DWORD WINAPI GetModuleFileNameA(HINSTANCE,LPSTR,DWORD); WINBASEAPI DWORD WINAPI GetModuleFileNameW(HINSTANCE,LPWSTR,DWORD); WINBASEAPI HMODULE WINAPI GetModuleHandleA(LPCSTR); WINBASEAPI HMODULE WINAPI GetModuleHandleW(LPCWSTR); -#if (_WIN32_WINNT >= 0x0500) +#if (_WIN32_WINNT >= 0x0501) WINBASEAPI BOOL WINAPI GetModuleHandleExA(DWORD,LPCSTR,HMODULE*); WINBASEAPI BOOL WINAPI GetModuleHandleExW(DWORD,LPCWSTR,HMODULE*); #endif @@ -2339,7 +2339,7 @@ typedef PCACTCTXW PCACTCTX; #endif #define GetModuleFileName GetModuleFileNameW #define GetModuleHandle GetModuleHandleW -#if (_WIN32_WINNT >= 0x0500) +#if (_WIN32_WINNT >= 0x0501) #define GetModuleHandleEx GetModuleHandleExW #endif #define GetNamedPipeHandleState GetNamedPipeHandleStateW @@ -2546,7 +2546,7 @@ typedef PCACTCTXA PCACTCTX; #endif #define GetNamedPipeHandleState GetNamedPipeHandleStateA #define GetModuleHandle GetModuleHandleA -#if (_WIN32_WINNT >= 0x0500) +#if (_WIN32_WINNT >= 0x0501) #define GetModuleHandleEx GetModuleHandleExA #endif #define GetModuleFileName GetModuleFileNameA |