Fixed cygwin compile

This commit is contained in:
Sam Lantinga 2013-02-26 20:32:11 -08:00
parent 1984b3b92e
commit a2dccaee2b

View file

@ -46,6 +46,9 @@
#define EXTENDED_KEYMASK (1<<24) #define EXTENDED_KEYMASK (1<<24)
#define VK_ENTER 10 /* Keypad Enter ... no VKEY defined? */ #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... */ /* Make sure XBUTTON stuff is defined that isn't in older Platform SDKs... */
#ifndef WM_XBUTTONDOWN #ifndef WM_XBUTTONDOWN
@ -64,11 +67,6 @@
#define WM_TOUCH 0x0240 #define WM_TOUCH 0x0240
#endif #endif
/* Fix cygwin compile */
#ifndef VK_OEM_NEC_EQUAL
#define VK_OEM_NEC_EQUAL 0x92
#endif
static SDL_Scancode static SDL_Scancode
WindowsScanCodeToSDLScanCode( int lParam, int wParam, const SDL_Scancode *key_map ) WindowsScanCodeToSDLScanCode( int lParam, int wParam, const SDL_Scancode *key_map )
{ {