From e29a687ddd6d895f32e94ce26ec30dbc11ea0f9a Mon Sep 17 00:00:00 2001 From: "staticfloat@gmail.com" Date: Fri, 10 Aug 2018 22:25:01 +0100 Subject: [PATCH] Fix `iswindows()` invocation --- src/zlib_h.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zlib_h.jl b/src/zlib_h.jl index 28de129..8d5589f 100644 --- a/src/zlib_h.jl +++ b/src/zlib_h.jl @@ -81,7 +81,7 @@ const SEEK_CUR = Int32(1) # Get compile-time option flags const zlib_compile_flags = ccall((:zlibCompileFlags, _zlib), UInt, ()) const z_off_t_sz = 2 << ((zlib_compile_flags >> 6) & UInt(3)) -if z_off_t_sz == 8 || (!iswindows() && Libdl.dlsym_e(Libdl.dlopen(_zlib), :gzopen64) != C_NULL) +if z_off_t_sz == 8 || (!Sys.iswindows() && Libdl.dlsym_e(Libdl.dlopen(_zlib), :gzopen64) != C_NULL) const ZFileOffset = Int64 elseif z_off_t_sz == 4 const ZFileOffset = Int32