Mercurial > hg > orthanc
diff Core/PrecompiledHeaders.h @ 1058:a098cf3bef24
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 25 Jul 2014 11:47:22 +0200 |
parents | 0bfeeb6d340f |
children | 6e7e5ed91c2d |
line wrap: on
line diff
--- a/Core/PrecompiledHeaders.h Fri Jul 25 10:12:16 2014 +0200 +++ b/Core/PrecompiledHeaders.h Fri Jul 25 11:47:22 2014 +0200 @@ -32,12 +32,12 @@ #pragma once -#if ORTHANC_USE_PRECOMPILED_HEADERS == 1 - -#ifndef NOMINMAX +#if defined(_WIN32) && !defined(NOMINMAX) #define NOMINMAX #endif +#if ORTHANC_USE_PRECOMPILED_HEADERS == 1 + #include <boost/date_time/posix_time/posix_time.hpp> #include <boost/filesystem.hpp> #include <boost/lexical_cast.hpp>