src/events/SDL_events.c
changeset 8465 be2dce468a8c
parent 8464 a2a909304cfe
child 8477 ad08f0d710f3
equal deleted inserted replaced
8464:a2a909304cfe 8465:be2dce468a8c
    30 #include "../timer/SDL_timer_c.h"
    30 #include "../timer/SDL_timer_c.h"
    31 #if !SDL_JOYSTICK_DISABLED
    31 #if !SDL_JOYSTICK_DISABLED
    32 #include "../joystick/SDL_joystick_c.h"
    32 #include "../joystick/SDL_joystick_c.h"
    33 #endif
    33 #endif
    34 #include "../video/SDL_sysvideo.h"
    34 #include "../video/SDL_sysvideo.h"
    35 
       
    36 /* HACK: Make sure the 'generic' field in SDL_Event works on
       
    37    WinRT, whereby 'generic' is redefined as 'generic_', in order to
       
    38    allow SDL.h to be included in code compiled with Microsoft's
       
    39    C++/CX extension.
       
    40 */
       
    41 #if defined(__WINRT__)
       
    42 #define generic generic_
       
    43 #endif
       
    44 
    35 
    45 /* Public data -- the event filter */
    36 /* Public data -- the event filter */
    46 SDL_EventFilter SDL_EventOK = NULL;
    37 SDL_EventFilter SDL_EventOK = NULL;
    47 void *SDL_EventOKParam;
    38 void *SDL_EventOKParam;
    48 
    39