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"
#endif
#include <algorithm>
#undef min
#undef max
#include <limits>

View File

@ -18,12 +18,8 @@
#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>