WinRT: removed the "generic" + C++/CX hack-fix, now that a better fix is in official-SDL
This commit is contained in:
parent
6a01cdf7f3
commit
5d23da7418
3 changed files with 0 additions and 19 deletions
|
@ -148,8 +148,3 @@
|
|||
#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
|
||||
|
|
|
@ -35,8 +35,3 @@
|
|||
#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
|
||||
|
|
|
@ -33,15 +33,6 @@
|
|||
#endif
|
||||
#include "../video/SDL_sysvideo.h"
|
||||
|
||||
/* HACK: Make sure the 'generic' field in SDL_Event works on
|
||||
WinRT, whereby 'generic' is redefined as 'generic_', in order to
|
||||
allow SDL.h to be included in code compiled with Microsoft's
|
||||
C++/CX extension.
|
||||
*/
|
||||
#if defined(__WINRT__)
|
||||
#define generic generic_
|
||||
#endif
|
||||
|
||||
/* Public data -- the event filter */
|
||||
SDL_EventFilter SDL_EventOK = NULL;
|
||||
void *SDL_EventOKParam;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue