Skip to content
Permalink
Browse files

Warn Visual C++ users if they have a stale configure generated SDL_co…

…nfig.h
  • Loading branch information
slouken committed Jul 12, 2007
1 parent 3f8c5c5 commit 666e72739ab235e3a25535bcbb598856888c19c3
Showing with 5 additions and 0 deletions.
  1. +5 −0 include/SDL_config.h.in
@@ -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

0 comments on commit 666e727

Please sign in to comment.