Ticket #583: libs-filesystem-src-operations_cpp.patch

File libs-filesystem-src-operations_cpp.patch, 670 bytes (added by Thomas Witt, 15 years ago)
  • libs/filesystem/src/operations.cpp

    diff -ru boost_1_34_0/libs/filesystem/src/operations.cpp boost_1_34_0_ibm/libs/filesystem/src/operations.cpp
    old new  
    1717
    1818#define _POSIX_PTHREAD_SEMANTICS  // Sun readdir_r() needs this
    1919
     20// enable the XPG-compliant version of readdir_r() on AIX
     21#if defined(_AIX)
     22# define _LINUX_SOURCE_COMPAT
     23#endif
     24
    2025#if !(defined(__HP_aCC) && defined(_ILP32) && \
    2126      !defined(_STATVFS_ACPP_PROBLEMS_FIXED))
    2227# define _FILE_OFFSET_BITS 64 // at worst, these defines may have no effect,