Skip to content

Commit

Permalink
Fix iswindows() invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat committed Aug 10, 2018
1 parent 35a0ffb commit e29a687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zlib_h.jl
Expand Up @@ -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
Expand Down

0 comments on commit e29a687

Please sign in to comment.