Skip to content

Commit 556fce4

Browse files
committed
Changed is_windows to Sys.iswindows because it was deprecated with [JuliaLang/julia#22182](JuliaLang/julia#22182)
1 parent 94c22f4 commit 556fce4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

deps/build.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
using BinDeps
2-
import Compat: is_windows
2+
import Compat: Sys.iswindows
33

44
@BinDeps.setup
55

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

src/LibCURL.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ isdefined(Base, :__precompile__) && __precompile__()
22

33
module LibCURL
44

5-
import Compat: is_windows
5+
import Compat: Sys.iswindows
66

77
const time_t = Int
88
const size_t = Csize_t
@@ -11,7 +11,7 @@ const curl_off_t = Int64
1111
include("lC_exports_h.jl")
1212
include("lC_common_h.jl")
1313

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

0 commit comments

Comments
 (0)