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:
David Ludwig 2013-04-14 11:45:01 -04:00
parent 41ce3814e2
commit 14337669a2
3 changed files with 19 additions and 0 deletions

View file

@ -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