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:
parent
41ce3814e2
commit
14337669a2
3 changed files with 19 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue