Changeset: cfa74332ac05 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/cfa74332ac05 Modified Files: gdk/gdk_system.h Branch: Jun2023 Log Message:
Add a comment explaining the ugly gcc-12/homebrew hack. diffs (14 lines): diff --git a/gdk/gdk_system.h b/gdk/gdk_system.h --- a/gdk/gdk_system.h +++ b/gdk/gdk_system.h @@ -121,6 +121,10 @@ #endif #if defined(__APPLE__) && defined(__GNUC__) +/* GCC-12 installed with Homebrew on MacOS has a bug which makes + * including <dispatch/dispatch.h> impossible. However we need that for + * properly working semaphores, so we have this bit of code to work + * around the bug. */ #define HAVE_DISPATCH_DISPATCH_H 1 #define HAVE_DISPATCH_SEMAPHORE_CREATE 1 #if __has_attribute(__swift_attr__) _______________________________________________ checkin-list mailing list -- [email protected] To unsubscribe send an email to [email protected]
