mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-19 11:23:16 +08:00
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:
@@ -31,7 +31,7 @@
|
|||||||
#include "SDL_error.h"
|
#include "SDL_error.h"
|
||||||
#include "SDL_version.h"
|
#include "SDL_version.h"
|
||||||
|
|
||||||
#include "begin_code.h"
|
//#include "begin_code.h"
|
||||||
/* Set up for C function definitions, even when using C++ */
|
/* Set up for C function definitions, even when using C++ */
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
@@ -222,6 +222,6 @@ extern DECLSPEC int SDLCALL SDL_GetWMInfo(SDL_SysWMinfo *info);
|
|||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#include "close_code.h"
|
//#include "close_code.h"
|
||||||
|
|
||||||
#endif /* _SDL_syswm_h */
|
#endif /* _SDL_syswm_h */
|
||||||
|
Reference in New Issue
Block a user