# HG changeset patch # User Sam Lantinga # Date 1184210089 0 # Node ID 2590d4e5fb89975d67ce1c5b006c176f6f33c414 # Parent 8f37b91f2e3e7c82a66d01ab949f3ef252fcfc4f Warn Visual C++ users if they have a stale configure generated SDL_config.h diff -r 8f37b91f2e3e -r 2590d4e5fb89 include/SDL_config.h.in --- a/include/SDL_config.h.in Wed Jul 11 14:52:13 2007 +0000 +++ b/include/SDL_config.h.in Thu Jul 12 03:14:49 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