mirror of
https://github.com/yawut/SDL.git
synced 2026-04-24 23:37:09 -05:00
Warn Visual C++ users if they have a stale configure generated SDL_config.h
This commit is contained in:
parent
87e10ffe0c
commit
0527f061ac
|
|
@ -28,6 +28,11 @@
|
|||
/* General platform specific identifiers */
|
||||
#include "SDL_platform.h"
|
||||
|
||||
/* Make sure that this isn't included by Visual C++ */
|
||||
#ifdef _MSC_VER
|
||||
#error You should copy include/SDL_config.h.default to include/SDL_config.h
|
||||
#endif
|
||||
|
||||
/* C language features */
|
||||
#undef const
|
||||
#undef inline
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user