@@ -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,11 @@ 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_clockid_t"
337
+ | "os_sync_wake_by_address_flags_t"
338
+ | "os_sync_wait_by_address_flags_t" => true ,
339
+
334
340
_ => false ,
335
341
}
336
342
} ) ;
@@ -349,6 +355,14 @@ fn test_apple(target: &str) {
349
355
350
356
// FIXME: XCode 13.1 doesn't have it.
351
357
"TIOCREMOTE" => true ,
358
+
359
+ // FIXME: Requires the macOS 14.4 SDK.
360
+ "OS_CLOCK_MACH_ABSOLUTE_TIME"
361
+ | "OS_SYNC_WAKE_BY_ADDRESS_NONE"
362
+ | "OS_SYNC_WAKE_BY_ADDRESS_SHARED"
363
+ | "OS_SYNC_WAIT_ON_ADDRESS_NONE"
364
+ | "OS_SYNC_WAIT_ON_ADDRESS_SHARED" => true ,
365
+
352
366
_ => false ,
353
367
}
354
368
} ) ;
@@ -374,6 +388,15 @@ fn test_apple(target: &str) {
374
388
// FIXME: Once the SDK get updated to Ventura's level
375
389
"freadlink" | "mknodat" | "mkfifoat" => true ,
376
390
391
+ // FIXME: Requires the macOS 14.4 SDK.
392
+ "os_sync_wake_by_address_any"
393
+ | "os_sync_wake_by_address_all"
394
+ | "os_sync_wake_by_address_flags_t"
395
+ | "os_sync_wait_on_address"
396
+ | "os_sync_wait_on_address_flags_t"
397
+ | "os_sync_wait_on_address_with_deadline"
398
+ | "os_sync_wait_on_address_with_timeout" => true ,
399
+
377
400
_ => false ,
378
401
}
379
402
} ) ;
0 commit comments