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:
@@ -61,6 +61,14 @@ C_MODE_START
|
|||||||
|
|
||||||
#if defined(MSDOS) || defined(__WIN__)
|
#if defined(MSDOS) || defined(__WIN__)
|
||||||
#define O_NONBLOCK 1 /* For emulation of fcntl() */
|
#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
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user