1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Add definition of SHUT_RDWR for compiling on windows

This commit is contained in:
unknown
2006-09-15 17:53:45 +02:00
parent 6373941ad4
commit 1e5685bde0

View File

@@ -61,6 +61,14 @@ C_MODE_START
#if defined(MSDOS) || defined(__WIN__)
#define O_NONBLOCK 1 /* For emulation of fcntl() */
/*
SHUT_RDWR is called SD_BOTH in windows and
is defined to 2 in winsock2.h
#define SD_BOTH 0x02
*/
#define SHUT_RDWR 0x02
#endif
/*