Ticket #7944: operations.cpp.diff

File operations.cpp.diff, 823 bytes (added by p.brockamp@…, 10 years ago)

Inhibit inclusion of headers not present in vxWorks

  • operations.cpp

     
    7373    const fs::path dot_dot_path("..");
    7474#   include <sys/types.h>
    7575#   include <sys/stat.h>
    76 #   if !defined(__APPLE__) && !defined(__OpenBSD__)
     76#   if !defined(__APPLE__) && !defined(__OpenBSD__) && !defined(__VXWORKS__)
    7777#     include <sys/statvfs.h>
    7878#     define BOOST_STATVFS statvfs
    7979#     define BOOST_STATVFS_F_FRSIZE vfs.f_frsize
     
    8181#     ifdef __OpenBSD__
    8282#     include <sys/param.h>
    8383#     endif
     84#     ifndef __VXWORKS__
    8485#     include <sys/mount.h>
     86#     endif
    8587#     define BOOST_STATVFS statfs
    8688#     define BOOST_STATVFS_F_FRSIZE static_cast<boost::uintmax_t>(vfs.f_bsize)
    8789#   endif