Browse Source

define O_LARGEFILE and O_NOATIME if needed

pull/334/head
Antonio SJ Musumeci 8 years ago
parent
commit
157dae0d2f
  1. 8
      src/fs_clonefile.cpp

8
src/fs_clonefile.cpp

@ -37,6 +37,14 @@
#include "fs_sendfile.hpp" #include "fs_sendfile.hpp"
#include "fs_xattr.hpp" #include "fs_xattr.hpp"
#ifndef O_LARGEFILE
# define O_LARGEFILE 0
#endif
#ifndef O_NOATIME
# define O_NOATIME 0
#endif
using std::string; using std::string;
using std::vector; using std::vector;

Loading…
Cancel
Save