@@ -504,37 +504,18 @@ CF_EXPORT id __NSDictionary0__;
504
504
CF_EXPORT id __NSArray0__;
505
505
506
506
507
- #if DEPLOYMENT_TARGET_MACOSX
508
-
509
- typedef pthread_mutex_t CFLock_t;
510
-
511
- #define CFLockInit ((pthread_mutex_t )PTHREAD_ERRORCHECK_MUTEX_INITIALIZER)
512
- #define CF_LOCK_INIT_FOR_STRUCTS (X ) (X = CFLockInit)
513
-
514
- #define __CFLock (LP ) ({ \
515
- (void )pthread_mutex_lock (LP); })
516
-
517
- #define __CFUnlock (LP ) ({ \
518
- (void )pthread_mutex_unlock (LP); })
519
-
520
- #define __CFLockTry (LP ) ({ \
521
- pthread_mutex_trylock (LP) == 0 ; })
522
-
523
- #elif DEPLOYMENT_TARGET_EMBEDDED || DEPLOYMENT_TARGET_EMBEDDED_MINI
507
+ #if DEPLOYMENT_TARGET_MACOSX || DEPLOYMENT_TARGET_EMBEDDED || DEPLOYMENT_TARGET_EMBEDDED_MINI
524
508
525
509
typedef pthread_mutex_t CFLock_t;
526
510
527
511
#define CFLockInit ((pthread_mutex_t )PTHREAD_ERRORCHECK_MUTEX_INITIALIZER)
528
512
#define CF_LOCK_INIT_FOR_STRUCTS (X ) (X = CFLockInit)
529
513
530
- #define __CFLock (LP ) ({ \
531
- (void )pthread_mutex_lock (LP); })
514
+ #define __CFLock (LP ) ({ (void )pthread_mutex_lock (LP); })
532
515
533
- #define __CFUnlock (LP ) ({ \
534
- (void )pthread_mutex_unlock (LP); })
516
+ #define __CFUnlock (LP ) ({ (void )pthread_mutex_unlock (LP); })
535
517
536
- #define __CFLockTry (LP ) ({ \
537
- pthread_mutex_trylock (LP) == 0 ; })
518
+ #define __CFLockTry (LP ) ({ pthread_mutex_trylock (LP) == 0 ; })
538
519
539
520
#elif DEPLOYMENT_TARGET_WINDOWS
540
521
0 commit comments