--- Top/threads.c.orig	2022-11-24 06:53:55
+++ Top/threads.c	2023-07-29 05:20:35
@@ -1058,7 +1058,7 @@ int csoundSpinLockInit(spin_lock_t *spinlock) {
 
 #elif defined(MACOSX) // MacOS native locks
 
-#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12
+#if MAC_OS_X_VERSION_MIN_REQUIRED >= 101200
 // New spinlock interface
 
 void csoundSpinLock(spin_lock_t *spinlock){
--- include/sysdep.h.orig	2022-11-24 06:53:55
+++ include/sysdep.h	2023-07-29 05:22:19
@@ -535,7 +535,7 @@ typedef int32_t spin_lock_t;
 #define SPINLOCK_INIT 0
 
 #elif defined(MACOSX)
-#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12
+#if MAC_OS_X_VERSION_MIN_REQUIRED >= 101200
 #include <os/lock.h>
 typedef struct os_unfair_lock_s spin_lock_t;
 #define SPINLOCK_INIT {0}