summaryrefslogtreecommitdiff
path: root/include/my_global.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/my_global.h')
-rw-r--r--include/my_global.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/my_global.h b/include/my_global.h
index ad1527d7b37..057c613d64c 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -608,6 +608,8 @@ typedef SOCKET_SIZE_TYPE size_socket;
#endif
#ifndef SOCK_CLOEXEC
#define SOCK_CLOEXEC 0
+#else
+#define HAVE_SOCK_CLOEXEC
#endif
/* additional file share flags for win32 */