aboutsummaryrefslogtreecommitdiffstats
path: root/src/3rdparty/masm
diff options
context:
space:
mode:
authorRafael Roquetto <rafael.roquetto@kdab.com>2016-03-09 09:44:51 -0300
committerRafael Roquetto <rafael.roquetto@kdab.com>2016-03-09 13:11:47 +0000
commitc44413067da24f5d768f3fde25248cdba5a566bd (patch)
tree2a067ad7e3e18113772095a8a50b573c9eb66134 /src/3rdparty/masm
parente2b2be90f26e232e36943b4d4bed5afee362ebc8 (diff)
QNX: Fix compilation
QNX only export library functions into the std namespace. Change-Id: Id5c479bb8b4540e26edabd6f50bc0f3f32e72432 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/3rdparty/masm')
-rw-r--r--src/3rdparty/masm/stubs/ExecutableAllocator.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/3rdparty/masm/stubs/ExecutableAllocator.h b/src/3rdparty/masm/stubs/ExecutableAllocator.h
index fe8fc66b03..5a3939b7b2 100644
--- a/src/3rdparty/masm/stubs/ExecutableAllocator.h
+++ b/src/3rdparty/masm/stubs/ExecutableAllocator.h
@@ -57,6 +57,10 @@
#include <unistd.h>
#endif
+#ifdef __QNXNTO__
+using std::perror;
+#endif
+
namespace JSC {
class JSGlobalData;