Wrap wx includes with _CRT_SECURE_NO_WARNINGS to make msvc stop hurfing and durfing.

Originally committed to SVN as r3507.
This commit is contained in:
Thomas Goyne 2009-09-10 02:52:34 +00:00
parent bdbb8cc4ce
commit e0cc5fc038
1 changed files with 9 additions and 0 deletions

View File

@ -47,6 +47,11 @@
/////////
// Setup
#ifdef _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS_DEFINED
#else
#define _CRT_SECURE_NO_WARNINGS
#endif
#define WIN32_LEAN_AND_MEAN
#define WX_PRE
@ -175,4 +180,8 @@
#include <GL/glu.h>
#endif
#ifndef _CRT_SECURE_NO_WARNINGS
#undef _CRT_SECURE_NO_WARNINGS
#endif
#endif // C++