mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-19 13:00:28 +00:00
Use "strong" linkage on Windows for some glfw procedures
This commit is contained in:
4
vendor/glfw/bindings/bindings.odin
vendored
4
vendor/glfw/bindings/bindings.odin
vendored
@@ -212,9 +212,9 @@ foreign glfw {
|
||||
// Functions added in 3.4, Linux links against system glfw so we define these as weak to be able
|
||||
// to check at runtime if they are available.
|
||||
|
||||
@(linkage="weak")
|
||||
@(linkage="strong" when ODIN_OS == .Windows else "weak")
|
||||
GetPlatform :: proc() -> c.int ---
|
||||
@(linkage="weak")
|
||||
@(linkage="strong" when ODIN_OS == .Windows else "weak")
|
||||
PlatformSupported :: proc(platform: c.int) -> b32 ---
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user