summaryrefslogtreecommitdiff
path: root/src/serialization.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/serialization.cpp')
-rw-r--r--src/serialization.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/serialization.cpp b/src/serialization.cpp
index eb80f3c60..c324ca0fd 100644
--- a/src/serialization.cpp
+++ b/src/serialization.cpp
@@ -19,6 +19,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "serialization.h"
#include "utility.h"
+#ifdef _WIN32
+ #define ZLIB_WINAPI
+#endif
#include "zlib.h"
/* report a zlib or i/o error */