From: Russell Bryant Date: Fri, 30 Jun 2006 16:02:05 +0000 (+0000) Subject: fix the condition for including the header for osx atomics X-Git-Tag: 1.4.0-beta1~718 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7718426316997e2ec057ef861b75d135e617566c;p=thirdparty%2Fasterisk.git 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 --- diff --git a/include/asterisk/lock.h b/include/asterisk/lock.h index b6c850569e..ad7b4e451e 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