summaryrefslogtreecommitdiffstats
path: root/mkspecs/qnx-x86-qcc/qplatformdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/qnx-x86-qcc/qplatformdefs.h')
-rw-r--r--mkspecs/qnx-x86-qcc/qplatformdefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/qnx-x86-qcc/qplatformdefs.h b/mkspecs/qnx-x86-qcc/qplatformdefs.h
index b47aecde0d..246f82e27f 100644
--- a/mkspecs/qnx-x86-qcc/qplatformdefs.h
+++ b/mkspecs/qnx-x86-qcc/qplatformdefs.h
@@ -83,7 +83,7 @@
#include <arpa/inet.h>
#define QT_USE_XOPEN_LFS_EXTENSIONS
-#if !defined(__EXT_QNX__READDIR64_R)
+#if defined(__EXT_QNX__READDIR_R) && !defined(__EXT_QNX__READDIR64_R)
#define QT_NO_READDIR64
#endif
#include "../common/posix/qplatformdefs.h"