summaryrefslogtreecommitdiff
path: root/vio
diff options
context:
space:
mode:
authorVladislav Vaintroub <vvaintroub@mysql.com>2009-09-30 22:10:22 +0200
committerVladislav Vaintroub <vvaintroub@mysql.com>2009-09-30 22:10:22 +0200
commit6e6b84fd02abc1ba79877722d106838118b269d0 (patch)
tree6e1d50710af632760b55f10ac9de00ba97a8394f /vio
parent9cf8d12c855e9713c5d3a170249c7d67935b2209 (diff)
downloadmariadb-git-6e6b84fd02abc1ba79877722d106838118b269d0.tar.gz
backport of
Revision: 2597.72.1 revid:sp1r-Reggie@core.-20080403153947-15243 removed instances of __NT__ from code. We now only build "NT" binaries
Diffstat (limited to 'vio')
-rw-r--r--vio/viosocket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vio/viosocket.c b/vio/viosocket.c
index 2d7fd0e08cd..2a22f8c7c15 100644
--- a/vio/viosocket.c
+++ b/vio/viosocket.c
@@ -264,7 +264,7 @@ int vio_close(Vio * vio)
#ifdef __WIN__
if (vio->type == VIO_TYPE_NAMEDPIPE)
{
-#if defined(__NT__) && defined(MYSQL_SERVER)
+#if defined(MYSQL_SERVER)
CancelIo(vio->hPipe);
DisconnectNamedPipe(vio->hPipe);
#endif
@@ -450,7 +450,7 @@ int vio_close_pipe(Vio * vio)
{
int r;
DBUG_ENTER("vio_close_pipe");
-#if defined(__NT__) && defined(MYSQL_SERVER)
+#if defined(MYSQL_SERVER)
CancelIo(vio->hPipe);
DisconnectNamedPipe(vio->hPipe);
#endif