From 7718426316997e2ec057ef861b75d135e617566c Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Fri, 30 Jun 2006 16:02:05 +0000 Subject: fix the condition for including the header for osx atomics git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36421 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/lock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/asterisk/lock.h b/include/asterisk/lock.h index b6c850569..ad7b4e451 100644 --- a/include/asterisk/lock.h +++ b/include/asterisk/lock.h @@ -738,7 +738,7 @@ int ast_atomic_fetchadd_int_slow(volatile int *p, int v); #include "asterisk/inline_api.h" -#ifdef __Darwin__ +#if defined(HAVE_OSX_ATOMICS) #include "libkern/OSAtomic.h" #endif -- cgit v1.2.3