From bda8076d354ce9ce587d315bff4a089094af5847 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Barschkis?= Date: Wed, 19 Feb 2020 19:31:48 +0100 Subject: Fluid: Temporary fix for gzopen on windows Needs more consideration. This fixes compilation for now. --- extern/mantaflow/preprocessed/fileio/ioutil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extern/mantaflow/preprocessed/fileio/ioutil.cpp') diff --git a/extern/mantaflow/preprocessed/fileio/ioutil.cpp b/extern/mantaflow/preprocessed/fileio/ioutil.cpp index 7c1682dfc5e..0bbbc7b6d11 100644 --- a/extern/mantaflow/preprocessed/fileio/ioutil.cpp +++ b/extern/mantaflow/preprocessed/fileio/ioutil.cpp @@ -29,7 +29,7 @@ namespace Manta { void *safeGzopen(const char *filename, const char *mode) { gzFile gzfile; -# if defined(WIN32) || defined(_WIN32) +# if 0 UTF16_ENCODE(filename); // gzopen_w() is supported since zlib v1.2.7 -- cgit v1.2.3