blob: 72894471231c8e6557aa83fb4cb7ab16b5333c64 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
//===----------------------------- config.h -------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//
// Defines macros used within the libc++abi project.
//
//===----------------------------------------------------------------------===//
#ifndef LIBCXXABI_CONFIG_H
#define LIBCXXABI_CONFIG_H
#include <unistd.h>
#if defined(_POSIX_THREADS) && _POSIX_THREADS > 0
# define LIBCXXABI_SINGLE_THREADED 0
#else
# define LIBCXXABI_SINGLE_THREADED 1
#endif
#endif // LIBCXXABI_CONFIG_H
|