Warn Visual C++ users if they have a stale configure generated SDL_config.h
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402492
This commit is contained in:
parent
bc4e3e95e3
commit
53fac91c80
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue