Skip to content
This repository has been archived by the owner. It is now read-only.
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 b96a59b commit 07bc05b6dfedbdc3efd0d38db82e887a691b4e52
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 07bc05b

Please sign in to comment.