[Bf-blender-cvs] [bda8076d354] master: Fluid: Temporary fix for gzopen on windows
Sebastián Barschkis
noreply at git.blender.org
Wed Feb 19 19:34:46 CET 2020
Commit: bda8076d354ce9ce587d315bff4a089094af5847
Author: Sebastián Barschkis
Date: Wed Feb 19 19:31:48 2020 +0100
Branches: master
https://developer.blender.org/rBbda8076d354ce9ce587d315bff4a089094af5847
Fluid: Temporary fix for gzopen on windows
Needs more consideration. This fixes compilation for now.
===================================================================
M 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
More information about the Bf-blender-cvs
mailing list