• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1From 22849101b7d9413cc204af8427e7ebecc3da569c Mon Sep 17 00:00:00 2001
2From: David 'Digit' Turner <digit@google.com>
3Date: Wed, 12 Feb 2014 20:06:02 +0800
4Subject: [PATCH 02/12] Fix GLibc-specific check.
5
6---
7 include/__config | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10diff --git a/include/__config b/include/__config
11index ce39243..64519b7 100644
12--- a/include/__config
13+++ b/include/__config
14@@ -317,7 +317,7 @@ typedef __char32_t char32_t;
15 #if defined(__FreeBSD__)
16 #define _LIBCPP_HAS_QUICK_EXIT
17 #define _LIBCPP_HAS_C11_FEATURES
18-#elif defined(__linux__)
19+#elif defined(__linux__) && defined(__GLIBC__)
20 #include <features.h>
21 #if __GLIBC_PREREQ(2, 15)
22 #define _LIBCPP_HAS_QUICK_EXIT
23--
241.9.1.423.g4596e3a
25
26