mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
Make SDL_stdinc.h work when compiling with -Wundef (thanks, Ben!).
Fixes Bugzilla #2664.
This commit is contained in:
parent
88e85f4ddd
commit
1339ce71f6
@ -226,7 +226,7 @@ typedef uint64_t Uint64;
|
|||||||
#define SDL_PRINTF_VARARG_FUNC( fmtargnumber )
|
#define SDL_PRINTF_VARARG_FUNC( fmtargnumber )
|
||||||
#define SDL_SCANF_VARARG_FUNC( fmtargnumber )
|
#define SDL_SCANF_VARARG_FUNC( fmtargnumber )
|
||||||
#else
|
#else
|
||||||
#if _MSC_VER >= 1600 /* VS 2010 and above */
|
#if defined(_MSC_VER) && (_MSC_VER >= 1600) /* VS 2010 and above */
|
||||||
#include <sal.h>
|
#include <sal.h>
|
||||||
|
|
||||||
#define SDL_IN_BYTECAP(x) _In_bytecount_(x)
|
#define SDL_IN_BYTECAP(x) _In_bytecount_(x)
|
||||||
|
Loading…
Reference in New Issue
Block a user