Skip to content

Commit

Permalink
Allow library to be used on Windows systems
Browse files Browse the repository at this point in the history
  • Loading branch information
serenity4 committed Aug 18, 2024
1 parent 6912b33 commit 7a50489
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "XCB"
uuid = "16167f82-ea26-5cba-b1de-ed6fd5e30a10"
version = "0.7.1"
version = "0.7.2"

[deps]
BitMasks = "a3e06817-fd65-4797-8291-16f435bc2529"
Expand Down
7 changes: 5 additions & 2 deletions src/LibXCB.jl
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
module LibXCB

using BitMasks: @bitmask
using Xorg_libxcb_jll: libxcb, libxcb_xkb
using Xorg_xcb_util_jll: libxcb_util
import Xorg_libxcb_jll: Xorg_libxcb_jll
if isdefined(Xorg_libxcb_jll, :libxcb)
using Xorg_libxcb_jll: libxcb, libxcb_xkb
using Xorg_xcb_util_jll: libxcb_util
end

const IS_LIBC_MUSL = occursin("musl", Base.BUILD_TRIPLET)

Expand Down

0 comments on commit 7a50489

Please sign in to comment.