From 3f320fac32c6bb66e167bf5014316f39bac11089 Mon Sep 17 00:00:00 2001 From: mrkraimer Date: Mon, 1 Oct 2018 06:36:44 -0400 Subject: [PATCH] another attempt to fix windows build --- src/copy/pv/pvStructureCopy.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/copy/pv/pvStructureCopy.h b/src/copy/pv/pvStructureCopy.h index 17376cd..71998ae 100644 --- a/src/copy/pv/pvStructureCopy.h +++ b/src/copy/pv/pvStructureCopy.h @@ -9,6 +9,11 @@ */ #ifndef PVSTRUCTURECOPY_H #define PVSTRUCTURECOPY_H + +#if defined(_WIN32) && !defined(NOMINMAX) +#define NOMINMAX +#endif + #include #include #include