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 abfbbcf
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
@static if Xorg_libxcb_jll.is_available()
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

2 comments on commit abfbbcf

@serenity4
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request updated: JuliaRegistries/General/113357

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.7.2 -m "<description of version>" abfbbcf591048bbb3c885cc3f3d0bf3a80771706
git push origin v0.7.2

Please sign in to comment.