# HG changeset patch # User Sam Lantinga # Date 1184208718 0 # Node ID ef815c44c662b9d454b71c9657e729afc80ae055 # Parent 60f67763028298c1496e09e6bfa5fd074f327db7 Warn Visual C++ users if they have a stale configure generated SDL_config.h diff -r 60f677630282 -r ef815c44c662 include/SDL_config.h.in --- 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