summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC/math.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibC/math.cpp')
-rw-r--r--Userland/Libraries/LibC/math.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibC/math.cpp b/Userland/Libraries/LibC/math.cpp
index 9472fff710..df1e409ce1 100644
--- a/Userland/Libraries/LibC/math.cpp
+++ b/Userland/Libraries/LibC/math.cpp
@@ -19,7 +19,7 @@
#include <stdint.h>
#include <stdlib.h>
-#ifdef __clang__
+#if defined(AK_COMPILER_CLANG)
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wdouble-promotion"
#endif
@@ -1148,6 +1148,6 @@ float nearbyintf(float value) NOEXCEPT
}
}
-#ifdef __clang__
+#if defined(AK_COMPILER_CLANG)
# pragma clang diagnostic pop
#endif