+ try to fix problems with the "max" macro and windows

pull/9/head
kelson42 14 years ago
parent 641177ae0e
commit 4dd9c3b306

@ -24,6 +24,13 @@
#include <limits> #include <limits>
#include <iostream> #include <iostream>
#ifdef _WIN32
#define NOMINMAX
# include <windows.h>
#undef NOMINMAX
#undef max
#endif
namespace zim namespace zim
{ {
/** /**

@ -26,6 +26,13 @@
#include <iosfwd> #include <iosfwd>
#include <limits> #include <limits>
#ifdef _WIN32
#define NOMINMAX
# include <windows.h>
#undef NOMINMAX
#undef max
#endif
namespace zim namespace zim
{ {
class Fileheader class Fileheader

Loading…
Cancel
Save