summaryrefslogtreecommitdiff
path: root/mysys/my_open.c
diff options
context:
space:
mode:
authorunknown <reggie@big_geek.>2006-05-08 14:50:13 -0500
committerunknown <reggie@big_geek.>2006-05-08 14:50:13 -0500
commitec82432941f7f6ef3d60b8d578883633dcaa6f26 (patch)
treedd3df64649d7ead588a0df258156657b5c8ddd41 /mysys/my_open.c
parentd9c1d25882f856ea6ad5afada171b7e0d1b3bcd4 (diff)
downloadmariadb-git-ec82432941f7f6ef3d60b8d578883633dcaa6f26.tar.gz
removing MSDOS defines and code
include/config-win.h: removed reference to MSDOS
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)