From 225be10f6190d3ed3b57dd04e2097814e00954b5 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Sun, 19 Feb 2017 22:15:50 +0000 Subject: [PATCH] Define NOMINMAX in windows_inc.h. git-svn-id: https://svn.eduke32.com/eduke32@6066 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/build/include/windows_inc.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/build/include/windows_inc.h b/source/build/include/windows_inc.h index 0bcca5d82..302f6511c 100644 --- a/source/build/include/windows_inc.h +++ b/source/build/include/windows_inc.h @@ -13,6 +13,10 @@ # define WIN32_LEAN_AND_MEAN #endif +#ifndef NOMINMAX +# define NOMINMAX +#endif + #ifdef NEED_WINSOCK2_H # include # undef NEED_WINSOCK2_H