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

@ -35,3 +35,8 @@
#endif
#pragma pack(pop)
#endif /* Compiler needs structure packing set */
/* Revert hack used to get C++/CX (WinRT) code compiling. */
#if defined(__WINRT__)
#undef generic
#endif