From dad4d0fa991247fa7ff16c385988b7fd7f41e076 Mon Sep 17 00:00:00 2001 From: smalcom Date: Thu, 15 Sep 2016 22:25:34 +0300 Subject: [PATCH] [F] min/max redefined when including windows.h --- contrib/Open3DGC/o3dgcTimer.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/Open3DGC/o3dgcTimer.h b/contrib/Open3DGC/o3dgcTimer.h index 303d4f790..97f575931 100644 --- a/contrib/Open3DGC/o3dgcTimer.h +++ b/contrib/Open3DGC/o3dgcTimer.h @@ -27,6 +27,8 @@ THE SOFTWARE. #include "o3dgcCommon.h" #ifdef WIN32 +/* Thank you, Microsoft, for file WinDef.h with min/max redefinition. */ +#define NOMINMAX #include #elif __MACH__ #include