mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-23 23:16:39 +01:00
only use <atomic> header if C++11 support is available
This commit is contained in:
parent
65626774e1
commit
f45ab8e322
@ -26,7 +26,9 @@
|
||||
#elif POCO_OS == POCO_OS_MAC_OS_X
|
||||
#if __MAC_OS_X_VERSION_MAX_ALLOWED >= 101200 || __IPHONE_OS_VERSION_MAX_ALLOWED >= 100000 || __TV_OS_VERSION_MAX_ALLOWED >= 100000 || __WATCH_OS_VERSION_MAX_ALLOWED >= 30000
|
||||
#ifndef POCO_HAVE_STD_ATOMICS
|
||||
#define POCO_HAVE_STD_ATOMICS
|
||||
#if __cplusplus >= 201103L
|
||||
#define POCO_HAVE_STD_ATOMICS
|
||||
#endif
|
||||
#endif
|
||||
#else
|
||||
#include <libkern/OSAtomic.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user