[project @ 2003-12-04 18:25:51 by panne]
authorpanne <unknown>
Thu, 4 Dec 2003 18:25:51 +0000 (18:25 +0000)
committerpanne <unknown>
Thu, 4 Dec 2003 18:25:51 +0000 (18:25 +0000)
Synched #ifdefs, but only 90% sure if I got it right...

cbits/dirUtils.c

index f256463..8c75f0c 100644 (file)
@@ -117,7 +117,7 @@ HsInt
 __hscore_renameFile( HsAddr src,
                     HsAddr dest)
 {
-#if (defined(_MSC_VER) || defined(_WIN32))
+#if defined(mingw32_TARGET_OS) || defined(__MINGW32__) || defined(_MSC_VER)
     static int forNT = -1;
     
     /* ToDo: propagate error codes back */