diff options
author | Rafael Roquetto <rafael.roquetto@kdab.com> | 2016-03-09 09:44:51 -0300 |
---|---|---|
committer | Rafael Roquetto <rafael.roquetto@kdab.com> | 2016-03-09 13:11:47 +0000 |
commit | c44413067da24f5d768f3fde25248cdba5a566bd (patch) | |
tree | 2a067ad7e3e18113772095a8a50b573c9eb66134 /src/3rdparty/masm | |
parent | e2b2be90f26e232e36943b4d4bed5afee362ebc8 (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.h | 4 |
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; |