Skip to content

Commit

Permalink
Make SDL_stdinc.h work when compiling with -Wundef (thanks, Ben!).
Browse files Browse the repository at this point in the history
Fixes Bugzilla #2664.
  • Loading branch information
icculus committed Apr 8, 2015
1 parent 88e85f4 commit 1339ce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/SDL_stdinc.h
Expand Up @@ -226,7 +226,7 @@ typedef uint64_t Uint64;
#define SDL_PRINTF_VARARG_FUNC( fmtargnumber )
#define SDL_SCANF_VARARG_FUNC( fmtargnumber )
#else
#if _MSC_VER >= 1600 /* VS 2010 and above */
#if defined(_MSC_VER) && (_MSC_VER >= 1600) /* VS 2010 and above */
#include <sal.h>

#define SDL_IN_BYTECAP(x) _In_bytecount_(x)
Expand Down

0 comments on commit 1339ce7

Please sign in to comment.