diff options
author | Vicențiu Ciorbaru <vicentiu@mariadb.org> | 2018-03-21 10:36:49 +0200 |
---|---|---|
committer | Vicențiu Ciorbaru <vicentiu@mariadb.org> | 2018-03-21 10:36:49 +0200 |
commit | 82aeb6b59640b9733c4026bda71887720153b70a (patch) | |
tree | 06ea8909b396e3a16042437b9574a85ee0156487 /include | |
parent | 34b03da2114892d96af651a953f6c2527437ad15 (diff) | |
parent | eee73ddfbb29816320c9fc78c8ff1012cac6567a (diff) | |
download | mariadb-git-82aeb6b59640b9733c4026bda71887720153b70a.tar.gz |
Merge branch '10.1' into 10.2
Diffstat (limited to 'include')
-rw-r--r-- | include/my_global.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/my_global.h b/include/my_global.h index 5c325b76a7b..cdd4b503e70 100644 --- a/include/my_global.h +++ b/include/my_global.h @@ -591,6 +591,11 @@ typedef SOCKET_SIZE_TYPE size_socket; #ifndef O_CLOEXEC #define O_CLOEXEC 0 #endif +#ifdef __GLIBC__ +#define STR_O_CLOEXEC "e" +#else +#define STR_O_CLOEXEC "" +#endif #ifndef SOCK_CLOEXEC #define SOCK_CLOEXEC 0 #endif |