aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/zlib
diff options
context:
space:
mode:
Diffstat (limited to 'erts/emulator/zlib')
-rw-r--r--erts/emulator/zlib/zutil.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/zlib/zutil.h b/erts/emulator/zlib/zutil.h
index d560382691..a8872e1c88 100644
--- a/erts/emulator/zlib/zutil.h
+++ b/erts/emulator/zlib/zutil.h
@@ -142,6 +142,7 @@ extern const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
#ifdef WIN32
# ifndef __CYGWIN__ /* Cygwin is Unix, not Win32 */
# define OS_CODE 0x0b
+# define F_OPEN(name, mode) _wfopen((WCHAR *)(name), (WCHAR *)(mode)) /* Unicode */
# endif
#endif