@@ -242,7 +242,8 @@ fn test_apple(target: &str) {
242
242
"os/clock.h" ,
243
243
"os/lock.h" ,
244
244
"os/signpost.h" ,
245
- "os/os_sync_wait_on_address.h" ,
245
+ // FIXME: Requires the macOS 14.4 SDK.
246
+ //"os/os_sync_wait_on_address.h",
246
247
"poll.h" ,
247
248
"pthread.h" ,
248
249
"pthread_spis.h" ,
@@ -331,6 +332,9 @@ fn test_apple(target: &str) {
331
332
return true ;
332
333
}
333
334
match ty {
335
+ // FIXME: Requires the macOS 14.4 SDK.
336
+ "os_sync_wake_by_address_flags_t" | "os_sync_wait_on_address_flags_t" => true ,
337
+
334
338
_ => false ,
335
339
}
336
340
} ) ;
@@ -349,6 +353,13 @@ fn test_apple(target: &str) {
349
353
350
354
// FIXME: XCode 13.1 doesn't have it.
351
355
"TIOCREMOTE" => true ,
356
+
357
+ // FIXME: Requires the macOS 14.4 SDK.
358
+ "OS_SYNC_WAKE_BY_ADDRESS_NONE"
359
+ | "OS_SYNC_WAKE_BY_ADDRESS_SHARED"
360
+ | "OS_SYNC_WAIT_ON_ADDRESS_NONE"
361
+ | "OS_SYNC_WAIT_ON_ADDRESS_SHARED" => true ,
362
+
352
363
_ => false ,
353
364
}
354
365
} ) ;
@@ -374,6 +385,15 @@ fn test_apple(target: &str) {
374
385
// FIXME: Once the SDK get updated to Ventura's level
375
386
"freadlink" | "mknodat" | "mkfifoat" => true ,
376
387
388
+ // FIXME: Requires the macOS 14.4 SDK.
389
+ "os_sync_wake_by_address_any"
390
+ | "os_sync_wake_by_address_all"
391
+ | "os_sync_wake_by_address_flags_t"
392
+ | "os_sync_wait_on_address"
393
+ | "os_sync_wait_on_address_flags_t"
394
+ | "os_sync_wait_on_address_with_deadline"
395
+ | "os_sync_wait_on_address_with_timeout" => true ,
396
+
377
397
_ => false ,
378
398
}
379
399
} ) ;
0 commit comments