mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
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
This commit is contained in:
@@ -738,7 +738,7 @@ int ast_atomic_fetchadd_int_slow(volatile int *p, int v);
|
|||||||
|
|
||||||
#include "asterisk/inline_api.h"
|
#include "asterisk/inline_api.h"
|
||||||
|
|
||||||
#ifdef __Darwin__
|
#if defined(HAVE_OSX_ATOMICS)
|
||||||
#include "libkern/OSAtomic.h"
|
#include "libkern/OSAtomic.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user