mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-24 04:20:56 -04:00
+ try to fix problems with the "max" macro and windows
This commit is contained in:
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…
x
Reference in New Issue
Block a user