From 6d3c33c07998236363f3503d376d6be1e0b074f4 Mon Sep 17 00:00:00 2001 From: James McDonnell Date: Tue, 14 Jun 2016 12:01:32 -0400 Subject: Make some QNX only code Dinkum specific The undefines won't be needed for QNX 7.0 with GNU libc++. Change-Id: I01bc306c5ebb0cb7f508bb7ee2994589f2936201 Reviewed-by: Rafael Roquetto --- src/3rdparty/javascriptcore/JavaScriptCore/wtf/MathExtras.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/MathExtras.h b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/MathExtras.h index f2517cd..706ec39 100644 --- a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/MathExtras.h +++ b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/MathExtras.h @@ -40,7 +40,7 @@ #include #endif -#if OS(QNX) +#if OS(QNX) && defined(_CPPLIB_VER) // FIXME: Look into a way to have cmath import its functions into both the standard and global // namespace. For now, we include math.h since the QNX cmath header only imports its functions // into the standard namespace. -- cgit v1.2.1