blob: 72894471231c8e6557aa83fb4cb7ab16b5333c64 [file] [log] [blame]
//===----------------------------- 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