Allow LIBCXXABI_SINGLE_THREADED to be defined by build scripts
llvm-svn: 216952
This commit is contained in:
parent
c59e585126
commit
10e25f4a0c
|
|
@ -16,7 +16,8 @@
|
|||
|
||||
#include <unistd.h>
|
||||
|
||||
#if defined(_POSIX_THREADS) && _POSIX_THREADS > 0
|
||||
#if !defined(LIBCXXABI_SINGLE_THREADED) && \
|
||||
defined(_POSIX_THREADS) && _POSIX_THREADS > 0
|
||||
# define LIBCXXABI_SINGLE_THREADED 0
|
||||
#else
|
||||
# define LIBCXXABI_SINGLE_THREADED 1
|
||||
|
|
|
|||
Loading…
Reference in New Issue