Fix alpha for liquid nodes (#5494)
[oweals/minetest.git] / src / serialization.cpp
index 79f66fcaebb15b3c8d4fc2c2f21600c03d97b6e1..d30e83726f307cac9d58f83c6f4f80d93d1ebac3 100644 (file)
@@ -20,7 +20,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "serialization.h"
 
 #include "util/serialize.h"
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(WIN32_NO_ZLIB_WINAPI)
        #define ZLIB_WINAPI
 #endif
 #include "zlib.h"