am 9fc43358
: Merge "Extra Win32 compatibility."
* commit '9fc43358f72a581beb26532ea2cb1f2adc053758': Extra Win32 compatibility.
This commit is contained in:
commit
c3bf8d85b5
1 changed files with 6 additions and 0 deletions
|
@ -35,6 +35,12 @@ static inline ssize_t pread64(int fd, void* buf, size_t nbytes, off64_t offset)
|
|||
|
||||
#endif /* __APPLE__ */
|
||||
|
||||
#if defined(_WIN32)
|
||||
#define O_CLOEXEC 0
|
||||
#define O_NOFOLLOW 0
|
||||
#define DEFFILEMODE 0666
|
||||
#endif /* _WIN32 */
|
||||
|
||||
#if HAVE_PRINTF_ZD
|
||||
# define ZD "%zd"
|
||||
# define ZD_TYPE ssize_t
|
||||
|
|
Loading…
Reference in a new issue