undef min/max

This commit is contained in:
Guenter Obiltschnig 2014-11-06 22:12:43 +01:00
parent 87f1d0f940
commit 10af7c6d4f
2 changed files with 4 additions and 6 deletions

View File

@ -28,6 +28,8 @@
#include "Poco/UnWindows.h" #include "Poco/UnWindows.h"
#endif #endif
#include <algorithm> #include <algorithm>
#undef min
#undef max
#include <limits> #include <limits>

View File

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