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 49820874a9
commit f9531484c0
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