mirror of
https://github.com/yawut/SDL.git
synced 2026-08-11 03:25:32 -05:00
WinRT: hack-fixed C++/CX compile errors regarding the 'generic' field in SDL_Event, which conflicts with a C++/CX keyword
This commit is contained in:
@@ -148,3 +148,8 @@
|
||||
#endif
|
||||
#endif /* NULL */
|
||||
#endif /* ! Mac OS X - breaks precompiled headers */
|
||||
|
||||
/* HACK: Make sure C++/CX works when compiling WinRT code */
|
||||
#if defined(__WINRT__)
|
||||
#define generic generic_
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user