vendor:x11/xlib add IS_SUPPORTED constant to match core:time and friends
This commit is contained in:
1 parent
98967aad74
commit
25cdc3736e
3 files changed
+6
-4
No files matched your search
Vendored
+1
-2
@@ -36,8 +36,7 @@ when ODIN_OS == .Windows {
|
||||
}
|
||||
}
|
||||
|
||||
// We want to use `vendor:x11/xlib` types so we need to match their build constraints.
|
||||
when ODIN_OS == .Linux || ODIN_OS == .FreeBSD || ODIN_OS == .OpenBSD {
|
||||
when xlib.IS_SUPPORTED {
|
||||
XlibDisplay :: xlib.Display
|
||||
XlibWindow :: xlib.Window
|
||||
XlibVisualID :: xlib.VisualID
|
||||
|
||||
Reference in new issue
Block a user