Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed cygwin compile
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Feb 27, 2013
1 parent 4fd980e commit c034927
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/video/windows/SDL_windowsevents.c
Expand Up @@ -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
Expand All @@ -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 )
{
Expand Down

0 comments on commit c034927

Please sign in to comment.