diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2025-12-15 17:05:55 +0000 |
|---|---|---|
| committer | gingerBill <gingerBill@users.noreply.github.com> | 2025-12-15 17:05:55 +0000 |
| commit | 9d6deb9dbf453c9847abe160cbfb89c5b50f0ba5 (patch) | |
| tree | b4c28314a5055e8c06d701f32b8cb088e9c8db7a | |
| parent | 750d99019cb7cbe67326ea151b184c8e97232ecc (diff) | |
Use `"strong"` linkage on Windows for some glfw procedures
| -rw-r--r-- | vendor/glfw/bindings/bindings.odin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/glfw/bindings/bindings.odin b/vendor/glfw/bindings/bindings.odin index abf6c2150..3f2f08237 100644 --- a/vendor/glfw/bindings/bindings.odin +++ b/vendor/glfw/bindings/bindings.odin @@ -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 --- } |