summaryrefslogtreecommitdiff
path: root/mysys/my_open.c
diff options
context:
space:
mode:
authorreggie@big_geek. <>2006-05-08 14:50:13 -0500
committerreggie@big_geek. <>2006-05-08 14:50:13 -0500
commit11d66e806836a1bb57b4709ca2b171a0c9dc9bd6 (patch)
treedd3df64649d7ead588a0df258156657b5c8ddd41 /mysys/my_open.c
parent93f965d1fe4b4cec901aeddc43de3b0bc78e3758 (diff)
downloadmariadb-git-11d66e806836a1bb57b4709ca2b171a0c9dc9bd6.tar.gz
removing MSDOS defines and code
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 098d410d8ce..0ae8c718713 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)