Skip to content

Commit

Permalink
Changed is_windows to Sys.iswindows because it was deprecated with [
Browse files Browse the repository at this point in the history
  • Loading branch information
danimad committed Aug 11, 2018
1 parent 94c22f4 commit 556fce4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions deps/build.jl
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using BinDeps
import Compat: is_windows
import Compat: Sys.iswindows

@BinDeps.setup

if is_windows()
if Sys.iswindows()
# note that there is a 32-bit version of libcurl.dll
# included with Git, which will not work with 64 bit Julia

Expand Down
4 changes: 2 additions & 2 deletions src/LibCURL.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ isdefined(Base, :__precompile__) && __precompile__()

module LibCURL

import Compat: is_windows
import Compat: Sys.iswindows

const time_t = Int
const size_t = Csize_t
Expand All @@ -11,7 +11,7 @@ const curl_off_t = Int64
include("lC_exports_h.jl")
include("lC_common_h.jl")

const libcurl = if is_windows()
const libcurl = if Sys.iswindows()
Pkg.dir("WinRPM","deps","usr","$(Sys.ARCH)-w64-mingw32","sys-root","mingw","bin","libcurl-4")
else
"libcurl"
Expand Down

0 comments on commit 556fce4

Please sign in to comment.