summaryrefslogtreecommitdiff
path: root/mysys/my_redel.c
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-09-02 15:33:18 +0300
committerGeorgi Kodinov <joro@sun.com>2009-09-02 15:33:18 +0300
commit607c399f8b65d4016d55b2e3c76c5322e87a30d9 (patch)
treeb3086a32780e1bf65f507281e5a839c546d77c68 /mysys/my_redel.c
parent453a941d50dc8ad60539812736021d74598f9ba7 (diff)
parente512d6943447aae62c77b98bc75512387b991cdc (diff)
downloadmariadb-git-607c399f8b65d4016d55b2e3c76c5322e87a30d9.tar.gz
merge
Diffstat (limited to 'mysys/my_redel.c')
-rw-r--r--mysys/my_redel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysys/my_redel.c b/mysys/my_redel.c
index 03c1021a954..116cb81f9df 100644
--- a/mysys/my_redel.c
+++ b/mysys/my_redel.c
@@ -77,7 +77,9 @@ end:
int my_copystat(const char *from, const char *to, int MyFlags)
{
struct stat statbuf;
+#if !defined(MSDOS) && !defined(__WIN__) && !defined(__EMX__) && !defined(OS2) && !defined(__NETWARE__)
int res;
+#endif /* MSDOS */
if (stat((char*) from, &statbuf))
{