From 3bcde7e1cd291a491e5482881fbd05ea932bf663 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Thu, 29 Mar 2012 17:41:05 -0400 Subject: [PATCH] Only define Win32 crud macros if not defined already --- src/win32_platform.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/win32_platform.h b/src/win32_platform.h index 63a372d7..7bfd5995 100644 --- a/src/win32_platform.h +++ b/src/win32_platform.h @@ -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