Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Warn Visual C++ users if they have a stale configure generated SDL_co…
Browse files Browse the repository at this point in the history
…nfig.h
  • Loading branch information
slouken committed Jul 12, 2007
1 parent b96a59b commit 07bc05b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/SDL_config.h.in
Expand Up @@ -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
Expand Down

0 comments on commit 07bc05b

Please sign in to comment.