+ 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 <iostream>
#ifdef _WIN32
#define NOMINMAX
# include <windows.h>
#undef NOMINMAX
#undef max
#endif
namespace zim
{
/**

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

Loading…
Cancel
Save