summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormsvensson@shellback.(none) <>2006-09-15 18:00:03 +0200
committermsvensson@shellback.(none) <>2006-09-15 18:00:03 +0200
commitd8e27606e1716d674ce03588cb8e763fbc260b62 (patch)
treed2353f3b987f5093cf7add0f3b0b7846d87cdbb9
parentb0fc6840b414910ced218dc5fd779acfd588bec2 (diff)
parent6a0841a1bc2902a37f3a2ccf7302972c9e68dc89 (diff)
downloadmariadb-git-d8e27606e1716d674ce03588cb8e763fbc260b62.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
/*