1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-23 10:48:51 -05:00

Only define Win32 crud macros if not defined already

This commit is contained in:
Matt Arsenault 2012-03-29 17:41:05 -04:00
parent fcf54b4b27
commit 3bcde7e1cd

View File

@ -33,8 +33,13 @@
// We don't need all the fancy stuff // We don't need all the fancy stuff
#define NOMINMAX #ifndef NOMINMAX
#define VC_EXTRALEAN #define NOMINMAX
#endif
#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN
#endif
#ifndef WIN32_LEAN_AND_MEAN #ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN