Fixed cygwin compile
This commit is contained in:
parent
1984b3b92e
commit
a2dccaee2b
1 changed files with 3 additions and 5 deletions
|
@ -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 )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue