glfw: workaround macOS zig libc __kernel_ptr_semantics
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
f886d490ee
commit
f4bfe1a541
3 changed files with 7 additions and 2 deletions
5
libs/glfw/src/glfw_native.h
Normal file
5
libs/glfw/src/glfw_native.h
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
// MacOS: this must be defined for system-sdk-13.3 and older.
|
||||
#define __kernel_ptr_semantics
|
||||
|
||||
#include <GLFW/glfw3.h>
|
||||
#include <GLFW/glfw3native.h>
|
||||
Loading…
Add table
Add a link
Reference in a new issue