mirror of
https://github.com/tmux/tmux.git
synced 2025-09-04 15:26:58 +00:00
Use 0 if O_DIRECTORY is missing, reported by Dagobert Michelsen.
This commit is contained in:
4
compat.h
4
compat.h
@ -125,6 +125,10 @@ typedef uint64_t u_int64_t;
|
|||||||
#define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len))
|
#define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef O_DIRECTORY
|
||||||
|
#define O_DIRECTORY 0
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef INFTIM
|
#ifndef INFTIM
|
||||||
#define INFTIM -1
|
#define INFTIM -1
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user