From bf06f3bb27075516242cb50a3e86db63aab4961a Mon Sep 17 00:00:00 2001 From: Richard Newton Date: Tue, 14 Jan 2014 10:27:40 +0000 Subject: [PATCH] Define NOMINMAN to fix windows build. --- src/windows.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/windows.hpp b/src/windows.hpp index 25b983f3..476f71cc 100755 --- a/src/windows.hpp +++ b/src/windows.hpp @@ -23,6 +23,9 @@ #ifndef _CRT_SECURE_NO_WARNINGS #define _CRT_SECURE_NO_WARNINGS #endif +#ifndef NOMINMAX +#define NOMINMAX // Macros min(a,b) and max(a,b) +#endif // Set target version to Windows Server 2003, Windows XP/SP1 or higher. #ifndef _WIN32_WINNT