Fixed cygwin compile
authorSam Lantinga <slouken@libsdl.org>
Tue, 26 Feb 2013 20:32:11 -0800
changeset 6931 843f9c1b16b8
parent 6930 bb6a9d41d737
child 6932 361bebe92c66
Fixed cygwin compile
src/video/windows/SDL_windowsevents.c
--- a/src/video/windows/SDL_windowsevents.c	Tue Feb 26 13:53:02 2013 -0300
+++ b/src/video/windows/SDL_windowsevents.c	Tue Feb 26 20:32:11 2013 -0800
@@ -46,6 +46,9 @@
 #define EXTENDED_KEYMASK    (1<<24)
 
 #define VK_ENTER    10          /* Keypad Enter ... no VKEY defined? */
+#ifndef VK_OEM_NEC_EQUAL
+#define VK_OEM_NEC_EQUAL 0x92 
+#endif
 
 /* Make sure XBUTTON stuff is defined that isn't in older Platform SDKs... */
 #ifndef WM_XBUTTONDOWN
@@ -64,11 +67,6 @@
 #define WM_TOUCH 0x0240
 #endif
 
-/* Fix cygwin compile */
-#ifndef VK_OEM_NEC_EQUAL
-#define VK_OEM_NEC_EQUAL 0x92
-#endif
-
 static SDL_Scancode 
 WindowsScanCodeToSDLScanCode( int lParam, int wParam, const SDL_Scancode *key_map )
 {