summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcmiller@zippy.cornsilk.net <>2006-09-15 18:19:09 -0400
committercmiller@zippy.cornsilk.net <>2006-09-15 18:19:09 -0400
commitdc8449886f1ed974aa3b4a31c9fa83035b3f4fbe (patch)
tree9d3c079509ea7809bb6dbac0da823609be60281c
parent66808ead4e1d86086539f883c5fa857a1c6822cf (diff)
parentd8e27606e1716d674ce03588cb8e763fbc260b62 (diff)
downloadmariadb-git-dc8449886f1ed974aa3b4a31c9fa83035b3f4fbe.tar.gz
Merge zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint
into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.1-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 b26e525016b..678025b31f4 100644
--- a/include/my_net.h
+++ b/include/my_net.h
@@ -55,6 +55,14 @@ C_MODE_START
#if 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
/*