23 #ifndef XAPIAN_INCLUDED_POSIXY_WRAPPER_H
24 #define XAPIAN_INCLUDED_POSIXY_WRAPPER_H
42 # include <sys/types.h>
45 # define posixy_open ::open
46 # define posixy_rename(F, T) std::rename(F, T)
49 #if defined __CYGWIN__ || defined __WIN32__
56 # define posixy_unlink(F) unlink(F)
#define posixy_rename(F, T)
include <fcntl.h>, but working around broken platforms.
include <sys/stat.h> with portability enhancements
<unistd.h>, but with compat.