summaryrefslogtreecommitdiffstats
path: root/mkspecs/common
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-02-18 15:48:32 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-02-18 15:48:32 (GMT)
commit4baa9dfb5273d7b501dcb3f456983262c53cc8d1 (patch)
treeaf04bea96067fcb8c282067aea00703a25b52069 /mkspecs/common
parent9eacc56619ce471a9777f88c89f64ca95cd6ae63 (diff)
parentc18beac8163634b48bbf1e7280923e96f5ef0a51 (diff)
downloadQt-4baa9dfb5273d7b501dcb3f456983262c53cc8d1.zip
Qt-4baa9dfb5273d7b501dcb3f456983262c53cc8d1.tar.gz
Qt-4baa9dfb5273d7b501dcb3f456983262c53cc8d1.tar.bz2
Merge remote branch 'origin/master' into qt-master-from-4.6
Conflicts: src/corelib/codecs/qtextcodec.h tests/auto/gestures/tst_gestures.cpp
Diffstat (limited to 'mkspecs/common')
-rw-r--r--mkspecs/common/posix/qplatformdefs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/mkspecs/common/posix/qplatformdefs.h b/mkspecs/common/posix/qplatformdefs.h
index e29bc6f..6310257 100644
--- a/mkspecs/common/posix/qplatformdefs.h
+++ b/mkspecs/common/posix/qplatformdefs.h
@@ -138,7 +138,9 @@
#define QT_OPENDIR ::opendir
#define QT_CLOSEDIR ::closedir
-#if defined(QT_USE_XOPEN_LFS_EXTENSIONS) && defined(QT_LARGEFILE_SUPPORT)
+#if defined(QT_LARGEFILE_SUPPORT) \
+ && defined(QT_USE_XOPEN_LFS_EXTENSIONS) \
+ && !defined(QT_NO_READDIR64)
#define QT_DIRENT struct dirent64
#define QT_READDIR ::readdir64
#define QT_READDIR_R ::readdir64_r