aboutsummaryrefslogtreecommitdiff
path: root/lib/include/float.h
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2025-07-16 04:52:10 +0200
committerAlex Rønne Petersen <alex@alexrp.com>2025-08-30 06:36:40 +0200
commitce7339e80a11e0a8f466e779212ee328a7ddc9e5 (patch)
tree911ae7cce5f776dc6276a84d4e640092cf40d7f3 /lib/include/float.h
parentb7a8c045efab89c0fab0d3d1c678442c2b373066 (diff)
downloadzig-ce7339e80a11e0a8f466e779212ee328a7ddc9e5.tar.gz
zig-ce7339e80a11e0a8f466e779212ee328a7ddc9e5.zip
zig cc: update intrinsic headers to LLVM 21
Diffstat (limited to 'lib/include/float.h')
-rw-r--r--lib/include/float.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/lib/include/float.h b/lib/include/float.h
index e5c439a9d4..84551af473 100644
--- a/lib/include/float.h
+++ b/lib/include/float.h
@@ -18,21 +18,12 @@
* additional definitions provided for Windows.
* For more details see http://msdn.microsoft.com/en-us/library/y0ybw9fy.aspx
*
- * Also fall back on Darwin and AIX to allow additional definitions and
+ * Also fall back on AIX to allow additional definitions and
* implementation-defined values.
*/
-#if (defined(__APPLE__) || defined(__MINGW32__) || defined(_MSC_VER) || \
- defined(_AIX)) && \
+#if (defined(__MINGW32__) || defined(_MSC_VER) || defined(_AIX)) && \
__STDC_HOSTED__ && __has_include_next(<float.h>)
-/* Prior to Apple's 10.7 SDK, float.h SDK header used to apply an extra level
- * of #include_next<float.h> to keep Metrowerks compilers happy. Avoid this
- * extra indirection.
- */
-#ifdef __APPLE__
-#define _FLOAT_H_
-#endif
-
# include_next <float.h>
/* Undefine anything that we'll be redefining below. */