mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
MDEV-8743: O_CLOEXEC/SOCK_CLOEXEC defines for non-unix compatibility
From 0f4478105f
This commit is contained in:
parent
4ec7b84077
commit
c54c490c59
1 changed files with 6 additions and 0 deletions
|
@ -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__
|
||||
|
|
Loading…
Reference in a new issue