glfw: workaround macOS zig libc __kernel_ptr_semantics

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2023-06-25 01:12:33 -07:00
parent f886d490ee
commit f4bfe1a541
3 changed files with 7 additions and 2 deletions

View 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>