From 22849101b7d9413cc204af8427e7ebecc3da569c Mon Sep 17 00:00:00 2001
From: David 'Digit' Turner <digit@google.com>
Date: Wed, 12 Feb 2014 20:06:02 +0800
Subject: [PATCH 02/12] Fix GLibc-specific check.

---
 include/__config | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/__config b/include/__config
index ce39243..64519b7 100644
--- a/include/__config
+++ b/include/__config
@@ -317,7 +317,7 @@ typedef __char32_t char32_t;
 #if defined(__FreeBSD__)
 #define _LIBCPP_HAS_QUICK_EXIT
 #define _LIBCPP_HAS_C11_FEATURES
-#elif defined(__linux__)
+#elif defined(__linux__) && defined(__GLIBC__)
 #include <features.h>
 #if __GLIBC_PREREQ(2, 15)
 #define _LIBCPP_HAS_QUICK_EXIT
-- 
1.9.1.423.g4596e3a