From 6106c6e7e5a827a059d6c5ca2fbc73f4f06f02a5 Mon Sep 17 00:00:00 2001 From: kelson42 Date: Sat, 10 Dec 2011 19:24:59 +0000 Subject: [PATCH] + small hack (undef max macro) for windows --- src/zimlib/include/zim/fileheader.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/zimlib/include/zim/fileheader.h b/src/zimlib/include/zim/fileheader.h index a34ed72..2d36b8c 100644 --- a/src/zimlib/include/zim/fileheader.h +++ b/src/zimlib/include/zim/fileheader.h @@ -26,6 +26,12 @@ #include #include +#ifdef _WIN32 +#ifdef max +#undef max +#endif +#endif + namespace zim { class Fileheader