@@ -504,37 +504,18 @@ CF_EXPORT id __NSDictionary0__;
504504CF_EXPORT id __NSArray0__;
505505
506506
507- #if DEPLOYMENT_TARGET_MACOSX
507+ #if TARGET_OS_MAC
508508
509509typedef pthread_mutex_t CFLock_t;
510510
511511#define CFLockInit ((pthread_mutex_t )PTHREAD_ERRORCHECK_MUTEX_INITIALIZER)
512512#define CF_LOCK_INIT_FOR_STRUCTS (X ) (X = CFLockInit)
513513
514- #define __CFLock (LP ) ({ \
515- (void )pthread_mutex_lock (LP); })
514+ #define __CFLock (LP ) ({ (void )pthread_mutex_lock (LP); })
516515
517- #define __CFUnlock (LP ) ({ \
518- (void )pthread_mutex_unlock (LP); })
516+ #define __CFUnlock (LP ) ({ (void )pthread_mutex_unlock (LP); })
519517
520- #define __CFLockTry (LP ) ({ \
521- pthread_mutex_trylock (LP) == 0 ; })
522-
523- #elif DEPLOYMENT_TARGET_EMBEDDED || DEPLOYMENT_TARGET_EMBEDDED_MINI
524-
525- typedef pthread_mutex_t CFLock_t;
526-
527- #define CFLockInit ((pthread_mutex_t )PTHREAD_ERRORCHECK_MUTEX_INITIALIZER)
528- #define CF_LOCK_INIT_FOR_STRUCTS (X ) (X = CFLockInit)
529-
530- #define __CFLock (LP ) ({ \
531- (void )pthread_mutex_lock (LP); })
532-
533- #define __CFUnlock (LP ) ({ \
534- (void )pthread_mutex_unlock (LP); })
535-
536- #define __CFLockTry (LP ) ({ \
537- pthread_mutex_trylock (LP) == 0 ; })
518+ #define __CFLockTry (LP ) ({ pthread_mutex_trylock (LP) == 0 ; })
538519
539520#elif DEPLOYMENT_TARGET_WINDOWS
540521
0 commit comments