changeset 828:1ca414eeac1b

fix
author jodogne
date Mon, 02 Jun 2014 11:49:12 +0200
parents 3d6f9b7d0add
children e798ff248b98
files Core/PrecompiledHeaders.h
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Core/PrecompiledHeaders.h	Mon Jun 02 11:49:09 2014 +0200
+++ b/Core/PrecompiledHeaders.h	Mon Jun 02 11:49:12 2014 +0200
@@ -32,9 +32,11 @@
 
 #pragma once
 
-#define ORTHANC_PRECOMPILED_HEADERS_INCLUDED 1
+#if ORTHANC_USE_PRECOMPILED_HEADERS == 1
 
-#if ORTHANC_USE_PRECOMPILED_HEADERS == 1
+#ifndef NOMINMAX
+#define NOMINMAX
+#endif
 
 #include <boost/date_time/posix_time/posix_time.hpp>
 #include <boost/filesystem.hpp>