summaryrefslogtreecommitdiff
path: root/Source/WTF/wtf/MathExtras.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WTF/wtf/MathExtras.h')
-rw-r--r--Source/WTF/wtf/MathExtras.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WTF/wtf/MathExtras.h b/Source/WTF/wtf/MathExtras.h
index 1bdbc6108..859722386 100644
--- a/Source/WTF/wtf/MathExtras.h
+++ b/Source/WTF/wtf/MathExtras.h
@@ -148,8 +148,8 @@ inline double trunc(double num) { return num > 0 ? floor(num) : ceil(num); }
#endif
-#if COMPILER(GCC) && OS(QNX)
-// The stdlib on QNX doesn't contain long abs(long). See PR #104666.
+#if COMPILER(GCC) && OS(QNX) && _CPPLIB_VER < 640
+// The stdlib on QNX < 6.6 doesn't contain long abs(long). See PR #104666.
inline long long abs(long num) { return labs(num); }
#endif