--- IO-AIO/def0.h 2017/06/23 21:43:51 1.8 +++ IO-AIO/def0.h 2019/04/03 03:03:53 1.16 @@ -48,8 +48,8 @@ #ifndef POSIX_MADV_DONTNEED #define POSIX_MADV_DONTNEED 0 #endif -#ifndef POSIX_MADV_FREE -#define POSIX_MADV_FREE 0 +#ifndef O_ACCMODE +#define O_ACCMODE 0 #endif #ifndef O_RDONLY #define O_RDONLY 0 @@ -231,9 +231,21 @@ #ifndef MAP_STACK #define MAP_STACK 0 #endif +#ifndef MREMAP_MAYMOVE +#define MREMAP_MAYMOVE 0 +#endif +#ifndef MREMAP_FIXED +#define MREMAP_FIXED 0 +#endif #ifndef F_DUPFD_CLOEXEC #define F_DUPFD_CLOEXEC 0 #endif +#ifndef MSG_CMSG_CLOEXEC +#define MSG_CMSG_CLOEXEC 0 +#endif +#ifndef SOCK_CLOEXEC +#define SOCK_CLOEXEC 0 +#endif #ifndef F_OFD_GETLK #define F_OFD_GETLK 0 #endif @@ -453,3 +465,108 @@ #ifndef SPLICE_F_GIFT #define SPLICE_F_GIFT 0 #endif +#ifndef EFD_CLOEXEC +#define EFD_CLOEXEC 0 +#endif +#ifndef EFD_NONBLOCK +#define EFD_NONBLOCK 0 +#endif +#ifndef EFD_SEMAPHORE +#define EFD_SEMAPHORE 0 +#endif +#ifndef MFD_CLOEXEC +#define MFD_CLOEXEC 0 +#endif +#ifndef MFD_ALLOW_SEALING +#define MFD_ALLOW_SEALING 0 +#endif +#ifndef MFD_HUGETLB +#define MFD_HUGETLB 0 +#endif +#ifndef CLOCK_REALTIME +#define CLOCK_REALTIME 0 +#endif +#ifndef CLOCK_MONOTONIC +#define CLOCK_MONOTONIC 0 +#endif +#ifndef CLOCK_BOOTTIME +#define CLOCK_BOOTTIME 0 +#endif +#ifndef CLOCK_REALTIME_ALARM +#define CLOCK_REALTIME_ALARM 0 +#endif +#ifndef CLOCK_BOOTTIME_ALARM +#define CLOCK_BOOTTIME_ALARM 0 +#endif +#ifndef TFD_NONBLOCK +#define TFD_NONBLOCK 0 +#endif +#ifndef TFD_CLOEXEC +#define TFD_CLOEXEC 0 +#endif +#ifndef TFD_TIMER_ABSTIME +#define TFD_TIMER_ABSTIME 0 +#endif +#ifndef TFD_TIMER_CANCEL_ON_SET +#define TFD_TIMER_CANCEL_ON_SET 0 +#endif +#ifndef STATX_TYPE +#define STATX_TYPE 0 +#endif +#ifndef STATX_MODE +#define STATX_MODE 0 +#endif +#ifndef STATX_NLINK +#define STATX_NLINK 0 +#endif +#ifndef STATX_UID +#define STATX_UID 0 +#endif +#ifndef STATX_GID +#define STATX_GID 0 +#endif +#ifndef STATX_ATIME +#define STATX_ATIME 0 +#endif +#ifndef STATX_MTIME +#define STATX_MTIME 0 +#endif +#ifndef STATX_CTIME +#define STATX_CTIME 0 +#endif +#ifndef STATX_INO +#define STATX_INO 0 +#endif +#ifndef STATX_SIZE +#define STATX_SIZE 0 +#endif +#ifndef STATX_BLOCKS +#define STATX_BLOCKS 0 +#endif +#ifndef STATX_BASIC_STATS +#define STATX_BASIC_STATS 0 +#endif +#ifndef STATX_ALL +#define STATX_ALL 0 +#endif +#ifndef STATX_BTIME +#define STATX_BTIME 0 +#endif +#ifndef STATX_ATTR_COMPRESSED +#define STATX_ATTR_COMPRESSED 0 +#endif +#ifndef STATX_ATTR_IMMUTABLE +#define STATX_ATTR_IMMUTABLE 0 +#endif +#ifndef STATX_ATTR_APPEND +#define STATX_ATTR_APPEND 0 +#endif +#ifndef STATX_ATTR_NODUMP +#define STATX_ATTR_NODUMP 0 +#endif +#ifndef STATX_ATTR_ENCRYPTED +#define STATX_ATTR_ENCRYPTED 0 +#endif +#ifndef STATX_ATTR_AUTOMOUNT +#define STATX_ATTR_AUTOMOUNT 0 +#endif