From c51d6ccac85fff94c28d5dbae3e92684f4ebc5ee Mon Sep 17 00:00:00 2001 From: cyan Date: Thu, 16 Oct 2025 01:49:15 +0200 Subject: [PATCH] fix: dispatch.h import on case-sensitive macOS ls $(xcrun --sdk macosx --show-sdk-path)/usr/include/*ispatch/*ispatch.h /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/include/dispatch/dispatch.h --- mainthread/os_darwin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mainthread/os_darwin.go b/mainthread/os_darwin.go index 90fbac4..65b5c93 100644 --- a/mainthread/os_darwin.go +++ b/mainthread/os_darwin.go @@ -12,7 +12,7 @@ package mainthread #cgo CFLAGS: -x objective-c #cgo LDFLAGS: -framework Cocoa #import -#import +#import extern void os_main(void); extern void wakeupMainThread(void);