summaryrefslogtreecommitdiff
path: root/include/my_net.h
diff options
context:
space:
mode:
authorunknown <cmiller@zippy.cornsilk.net>2006-09-15 18:19:09 -0400
committerunknown <cmiller@zippy.cornsilk.net>2006-09-15 18:19:09 -0400
commit96b2748a992d672b60a55285d8b8279d7281cbac (patch)
tree9d3c079509ea7809bb6dbac0da823609be60281c /include/my_net.h
parent0dfa6c953a14cd2ce1b3b953caf1972276397fc3 (diff)
parent24cdd48020634acc1c2c2309a5c27d28368e0ba9 (diff)
downloadmariadb-git-96b2748a992d672b60a55285d8b8279d7281cbac.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 include/my_net.h: Auto merged
Diffstat (limited to 'include/my_net.h')
-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
/*