Mach defines GSYNC_SHARED, not SYNC_SHARED.
---
 mach/lowlevellock.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mach/lowlevellock.h b/mach/lowlevellock.h
index 6336694902..a4f6af4c29 100644
--- a/mach/lowlevellock.h
+++ b/mach/lowlevellock.h
@@ -35,7 +35,7 @@
 #define LLL_LOCK_INITIALIZER   0
 
 #define LLL_PRIVATE        0
-#define LLL_SHARED         SYNC_SHARED
+#define LLL_SHARED         GSYNC_SHARED
 
 /* Interruptible version of __gsync_wait.  */
 extern kern_return_t __gsync_wait_intr
-- 
2.34.1


Reply via email to