summaryrefslogtreecommitdiff
path: root/mysys/my_open.c
diff options
context:
space:
mode:
authorunknown <reggie@big_geek.>2006-05-08 15:15:05 -0500
committerunknown <reggie@big_geek.>2006-05-08 15:15:05 -0500
commit4f908f248e148fc015f3f82450a003b88bdca98d (patch)
tree45e25c571bea2101f73fff090266209606f600ae /mysys/my_open.c
parent94c6f6dc4888166b3677f38b534502156ef50d49 (diff)
parentec82432941f7f6ef3d60b8d578883633dcaa6f26 (diff)
downloadmariadb-git-4f908f248e148fc015f3f82450a003b88bdca98d.tar.gz
Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into big_geek.:C:/Work/mysql/mysql-5.1 include/config-win.h: Auto merged include/m_string.h: Auto merged include/my_base.h: Auto merged include/my_sys.h: Auto merged include/my_tree.h: Auto merged mysys/mf_keycache.c: Auto merged mysys/my_init.c: Auto merged mysys/my_open.c: Auto merged mysys/my_access.c: adjusted defines from merge
Diffstat (limited to 'mysys/my_open.c')
-rw-r--r--mysys/my_open.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysys/my_open.c b/mysys/my_open.c
index ed323b3b1ad..6041ddde9fc 100644
--- a/mysys/my_open.c
+++ b/mysys/my_open.c
@@ -19,7 +19,7 @@
#include "mysys_err.h"
#include <my_dir.h>
#include <errno.h>
-#if defined(MSDOS) || defined(__WIN__)
+#if defined(__WIN__)
#include <share.h>
#endif
@@ -45,7 +45,7 @@ File my_open(const char *FileName, int Flags, myf MyFlags)
DBUG_ENTER("my_open");
DBUG_PRINT("my",("Name: '%s' Flags: %d MyFlags: %d",
FileName, Flags, MyFlags));
-#if defined(MSDOS) || defined(__WIN__)
+#if defined(__WIN__)
/*
Check that we don't try to open or create a file name that may
cause problems for us in the future (like PRN)