Revert "[libc++] Don't alias quick_exit if __ANDROID_API__ < 21"
authorDan Albert <danalbert@google.com>
Wed, 1 Nov 2017 23:43:07 +0000 (23:43 +0000)
committerDan Albert <danalbert@google.com>
Wed, 1 Nov 2017 23:43:07 +0000 (23:43 +0000)
Broke the Darwin build bots.

This reverts commit f56f1bba1ade4a408d403ff050d50e837bae47df.

llvm-svn: 317142

libcxx/include/__config

index 33cb9c4..d621723 100644 (file)
 #define _LIBCPP_NO_CFI
 #endif
 
-#if __libcpp_has_include(<sys/cdefs.h>)
-#include <sys/cdefs.h>
-#endif
-
 #if defined(_LIBCPP_COMPILER_CLANG)
 
 // _LIBCPP_ALTERNATE_STRING_LAYOUT is an old name for
@@ -411,7 +407,7 @@ typedef __char32_t char32_t;
 #define _LIBCPP_HAS_C11_FEATURES
 #elif defined(__linux__)
 #if !defined(_LIBCPP_HAS_MUSL_LIBC)
-#if __GLIBC_PREREQ(2, 15) || (defined(__BIONIC__) && (__ANDROID_API__ >= 21))
+#if __GLIBC_PREREQ(2, 15) || defined(__BIONIC__)
 #define _LIBCPP_HAS_QUICK_EXIT
 #endif
 #if __GLIBC_PREREQ(2, 17)