forked from mia/Aegisub
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:
parent
bdbb8cc4ce
commit
e0cc5fc038
1 changed files with 9 additions and 0 deletions
|
@ -47,6 +47,11 @@
|
||||||
|
|
||||||
/////////
|
/////////
|
||||||
// Setup
|
// 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 WIN32_LEAN_AND_MEAN
|
||||||
#define WX_PRE
|
#define WX_PRE
|
||||||
|
|
||||||
|
@ -175,4 +180,8 @@
|
||||||
#include <GL/glu.h>
|
#include <GL/glu.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef _CRT_SECURE_NO_WARNINGS
|
||||||
|
#undef _CRT_SECURE_NO_WARNINGS
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // C++
|
#endif // C++
|
||||||
|
|
Loading…
Reference in a new issue