Mercurial > hg > orthanc
changeset 1058:a098cf3bef24
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 25 Jul 2014 11:47:22 +0200 |
parents | 3a26bc6e4867 |
children | f25c79497739 |
files | Core/PrecompiledHeaders.h |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
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>