summaryrefslogtreecommitdiffstats
path: root/lib/Headers
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2016-12-12 23:06:58 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2016-12-12 23:06:58 +0000
commit5ffd72d07ed593bda45f85340045a6900554ecf9 (patch)
tree99a396b4725a9947813f633ddf17ee0c8924d9fd /lib/Headers
parentb142ff5e65a2d7485bd533eec7653e9c0ef9670c (diff)
Revert "[Headers] Add #include_next for tgmath.h on Darwin"
Reverts r289181: it's currently breaking modules using simd.h in 10.12 SDK. This reverts commit 6e73e3464e96a4e00492c24aa790d36e1adb5702. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@289487 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Headers')
-rw-r--r--lib/Headers/tgmath.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/Headers/tgmath.h b/lib/Headers/tgmath.h
index 0b8b5ce277..318e1185fe 100644
--- a/lib/Headers/tgmath.h
+++ b/lib/Headers/tgmath.h
@@ -25,14 +25,6 @@
#ifndef __TGMATH_H
#define __TGMATH_H
-/*
- * Allow additional definitions and implementation-defined values on Apple
- * platforms.
- */
-#if defined(__APPLE__) && __STDC_HOSTED__ && __has_include_next(<tgmath.h>)
-# include_next <tgmath.h>
-#else
-
/* C99 7.22 Type-generic math <tgmath.h>. */
#include <math.h>
@@ -1379,5 +1371,4 @@ static long double
#undef _TG_ATTRS
#endif /* __cplusplus */
-#endif /* __has_include_next */
#endif /* __TGMATH_H */