Mercurial > sdl-ios-xcode
changeset 4050:ef815c44c662 SDL-1.2
Warn Visual C++ users if they have a stale configure generated SDL_config.h
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 12 Jul 2007 02:51:58 +0000 |
parents | 60f677630282 |
children | 209a3ef8a328 |
files | include/SDL_config.h.in |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/include/SDL_config.h.in Wed Jul 11 07:53:12 2007 +0000 +++ b/include/SDL_config.h.in Thu Jul 12 02:51:58 2007 +0000 @@ -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