Removed the NOMINMAX compiler option, using undefs to avoid the conflict between std::numeric_limits and Windows headers.

This commit is contained in:
Ivan Popivanov
2014-10-15 05:13:25 -04:00
parent 4707a6df83
commit 3247d07bd0
2 changed files with 12 additions and 6 deletions

View File

@@ -18,6 +18,12 @@
#include "Poco/Timespan.h"
#include "Poco/Exception.h"
#include <algorithm>
#ifdef min
#undef min
#endif
#ifdef max
#undef max
#endif
#include <limits>
#if defined(POCO_OS_FAMILY_UNIX)
#include <time.h>