Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r71131 - trunk/libs/filesystem/v3/src
From: bdawes_at_[hidden]
Date: 2011-04-08 17:48:28


Author: bemandawes
Date: 2011-04-08 17:48:27 EDT (Fri, 08 Apr 2011)
New Revision: 71131
URL: http://svn.boost.org/trac/boost/changeset/71131

Log:
Fix #5355 QNX workarounds
Text files modified:
   trunk/libs/filesystem/v3/src/operations.cpp | 5 ++++-
   1 files changed, 4 insertions(+), 1 deletions(-)

Modified: trunk/libs/filesystem/v3/src/operations.cpp
==============================================================================
--- trunk/libs/filesystem/v3/src/operations.cpp (original)
+++ trunk/libs/filesystem/v3/src/operations.cpp 2011-04-08 17:48:27 EDT (Fri, 08 Apr 2011)
@@ -30,7 +30,7 @@
 # define _POSIX_PTHREAD_SEMANTICS // Sun readdir_r()needs this
 #endif
 
-#if !(defined(__HP_aCC) && defined(_ILP32) && \
+#if !defined(__QNXNTO__) && !(defined(__HP_aCC) && defined(_ILP32) && \
       !defined(_STATVFS_ACPP_PROBLEMS_FIXED))
 #define _FILE_OFFSET_BITS 64 // at worst, these defines may have no effect,
 #endif
@@ -182,6 +182,9 @@
 #include <string>
 #include <cstring>
 #include <cstdio> // for remove, rename
+#if defined(__QNXNTO__) // see ticket #5355
+# include <stdio.h>
+#endif
 #include <cerrno>
 #include <cassert>
 // #include <iostream> // for debugging only; comment out when not in use


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk