diff options
author | Nirbhay Choubey <nirbhay@mariadb.com> | 2018-03-02 11:17:35 +1100 |
---|---|---|
committer | Daniel Black <daniel@linux.vnet.ibm.com> | 2018-03-02 11:17:39 +1100 |
commit | c54c490c59e2d6aed21934cfd5948974ee0ee774 (patch) | |
tree | 3e256bc9bcab74ae82e79a206f500420b3ad45be /include | |
parent | 4ec7b840776e498456b9a22a51178099e4d66aa3 (diff) | |
download | mariadb-git-c54c490c59e2d6aed21934cfd5948974ee0ee774.tar.gz |
MDEV-8743: O_CLOEXEC/SOCK_CLOEXEC defines for non-unix compatibility
From 0f4478105f5027ce589a0f08c6019d906d632029
Diffstat (limited to 'include')
-rw-r--r-- | include/my_global.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/my_global.h b/include/my_global.h index cf140cf54ce..6e8fb33b137 100644 --- a/include/my_global.h +++ b/include/my_global.h @@ -578,6 +578,12 @@ typedef SOCKET_SIZE_TYPE size_socket; #ifndef O_NOFOLLOW #define O_NOFOLLOW 0 #endif +#ifndef O_CLOEXEC +#define O_CLOEXEC 0 +#endif +#ifndef SOCK_CLOEXEC +#define SOCK_CLOEXEC 0 +#endif /* additional file share flags for win32 */ #ifdef __WIN__ |