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
1 changed files with 7 additions and 2 deletions

View File

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