Finally resolve gdkquartz.h include path issue.
authorJohn Ralls <jralls@ceridwen.us>
Tue, 9 May 2023 20:51:28 +0000 (13:51 -0700)
committerJohn Ralls <jralls@ceridwen.us>
Tue, 9 May 2023 20:51:28 +0000 (13:51 -0700)
By using a different include path for building Gtk.

gdk/quartz/gdkquartz-cocoa-access.h

index def28142520329a296148eb807b930a803536755..216d33d395dadcde5e38c08e5aa2405f40416723 100644 (file)
 
 #include <AppKit/AppKit.h>
 #include <gdk/gdk.h>
+#if (defined (GTK_COMPILATION) || defined (GDK_COMPILATION))
 #include "gdkquartz.h"
+#else
+#include <gdk/gdkquartz.h>
+#endif
 
 GDK_AVAILABLE_IN_ALL
 NSEvent  *gdk_quartz_event_get_nsevent              (GdkEvent  *event);