summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <msvensson@shellback.(none)>2006-09-15 18:00:03 +0200
committerunknown <msvensson@shellback.(none)>2006-09-15 18:00:03 +0200
commit24cdd48020634acc1c2c2309a5c27d28368e0ba9 (patch)
treed2353f3b987f5093cf7add0f3b0b7846d87cdbb9
parent9e1a6b0eeffddc890d8e6d905cb72460298ed86d (diff)
parent1e5685bde0603716012fa9ed2857574a2bb0fc91 (diff)
downloadmariadb-git-24cdd48020634acc1c2c2309a5c27d28368e0ba9.tar.gz
Merge shellback.(none):/home/msvensson/mysql/work/my50-work
into shellback.(none):/home/msvensson/mysql/mysql-5.0-maint
-rw-r--r--include/my_net.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/my_net.h b/include/my_net.h
index 71914964e46..43360b6153c 100644
--- a/include/my_net.h
+++ b/include/my_net.h
@@ -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
/*