Disable SDL_syswm.h structure packing hackery that does nothing but also affects system headers and makes VS2019 winnt.h unhappy.

This commit is contained in:
Jonathan Campbell
2019-12-31 23:29:01 -08:00
parent 81f6c9601e
commit 5d0f901b8f

View File

@@ -31,7 +31,7 @@
#include "SDL_error.h"
#include "SDL_version.h"
#include "begin_code.h"
//#include "begin_code.h"
/* Set up for C function definitions, even when using C++ */
#ifdef __cplusplus
extern "C" {
@@ -222,6 +222,6 @@ extern DECLSPEC int SDLCALL SDL_GetWMInfo(SDL_SysWMinfo *info);
#ifdef __cplusplus
}
#endif
#include "close_code.h"
//#include "close_code.h"
#endif /* _SDL_syswm_h */