diff options
| author | jhurst <jhurst@cinecert.com> | 2012-03-15 17:54:15 +0000 |
|---|---|---|
| committer | jhurst <> | 2012-03-15 17:54:15 +0000 |
| commit | e511dc66f4a9c9278964d89a85662fcd9bfb18ac (patch) | |
| tree | 20f489314df8cb13903c3979528489e12e7f2dbe /src/KM_platform.h | |
| parent | 12c2894876202fe20285bc5efaa7417611e29827 (diff) | |
pre as-02
Diffstat (limited to 'src/KM_platform.h')
| -rw-r--r-- | src/KM_platform.h | 33 |
1 files changed, 1 insertions, 32 deletions
diff --git a/src/KM_platform.h b/src/KM_platform.h index 436e6e9..c040261 100644 --- a/src/KM_platform.h +++ b/src/KM_platform.h @@ -1,5 +1,5 @@ /* -Copyright (c) 2004-2009, John Hurst +Copyright (c) 2004-2012, John Hurst All rights reserved. Redistribution and use in source and binary forms, with or without @@ -42,37 +42,6 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # define WIN32_LEAN_AND_MEAN # define VC_EXTRALEAN # include <windows.h> -/* we like the "SendMessage" name, so get rid of the preprocessor define - * and replace with an inline function */ -# undef SendMessage -#ifdef UNICODE
-inline
-WINUSERAPI
-LRESULT
-WINAPI
-SendMessage(
- __in HWND hWnd,
- __in UINT Msg,
- __in WPARAM wParam,
- __in LPARAM lParam)
-{
- return SendMessageW(hWnd, Msg, wParam, lParam);
-}
-#else
-inline
-WINUSERAPI
-LRESULT
-WINAPI
-SendMessage(
- __in HWND hWnd,
- __in UINT Msg,
- __in WPARAM wParam,
- __in LPARAM lParam)
-{
- return SendMessageA(hWnd, Msg, wParam, lParam);
-}
-#endif // !UNICODE
- # include <stdlib.h> # include <stdio.h> # include <stdarg.h> |
