summaryrefslogtreecommitdiffstats
path: root/mkspecs/qnx-armle-v7-qcc
diff options
context:
space:
mode:
authorBernd Weimer <bweimer@blackberry.com>2014-06-04 10:14:43 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-06-05 23:24:47 +0200
commitfce9c2dd26e7b489cfe7a3de0f21a77f4dca62a2 (patch)
treea176480ce42077f3552b705414110d71dce44d29 /mkspecs/qnx-armle-v7-qcc
parentbbdf6a8039c19d63537d4ac056d1f3830550b362 (diff)
QNX: Fix build for QNX 6.5
QNX 6.5 does not have readdir64_r, which is selected by current qplatformdefs.h. There is only a reentrant version (readdir_r) which does not support large files and a large file version (readdir64) which is not reentrant. The reentrant version (readdir_r) will be chosen now. In summary, the following versions will be used: QNX 6.5: readdir_r (postfix '_r': reentrant version) QNX 6.6: _readdir_r (prefix '_' : extra stat info included) BB 10: _readdir64_r (infix '64': large file support) Change-Id: I00739f0e2054a32f52555309d03463a6c52e3d99 Reviewed-by: Wolfgang Bremer <wbremer@blackberry.com> Reviewed-by: Samuli Piippo <samuli.piippo@digia.com> Reviewed-by: Sergio Ahumada <sahumada@blackberry.com>
Diffstat (limited to 'mkspecs/qnx-armle-v7-qcc')
-rw-r--r--mkspecs/qnx-armle-v7-qcc/qplatformdefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/qnx-armle-v7-qcc/qplatformdefs.h b/mkspecs/qnx-armle-v7-qcc/qplatformdefs.h
index 27e4a3aa41..2f95f0d392 100644
--- a/mkspecs/qnx-armle-v7-qcc/qplatformdefs.h
+++ b/mkspecs/qnx-armle-v7-qcc/qplatformdefs.h
@@ -83,7 +83,7 @@
#include <arpa/inet.h>
#define QT_USE_XOPEN_LFS_EXTENSIONS
-#if defined(__EXT_QNX__READDIR_R) && !defined(__EXT_QNX__READDIR64_R)
+#if !defined(__EXT_QNX__READDIR64_R)
#define QT_NO_READDIR64
#endif
#include "../common/posix/qplatformdefs.h"