[project @ 2003-10-13 05:21:37 by sof]
authorsof <unknown>
Mon, 13 Oct 2003 05:21:54 +0000 (05:21 +0000)
committersof <unknown>
Mon, 13 Oct 2003 05:21:54 +0000 (05:21 +0000)
more mind-numbing CPP tweaking

cbits/consUtils.c
cbits/dirUtils.c

index fd51440..3514d63 100644 (file)
@@ -4,7 +4,7 @@
  * Win32 Console API support
  */
 #include "config.h"
-#if defined(mingw32_TARGET_OS) || defined(cygwin32_TARGET_OS)
+#if defined(mingw32_TARGET_OS) || defined(cygwin32_TARGET_OS) || defined(__MINGW32__) || defined(_MSC_VER)
 /* to the end */
 
 #include "consUtils.h"
@@ -64,4 +64,4 @@ get_console_echo__(int fd)
     return -1;
 }
 
-#endif /* defined(mingw32_TARGET_OS) || defined(cygwin32_TARGET_OS) */
+#endif /* defined(mingw32_TARGET_OS) || ... */
index b3fb6c0..4422440 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "HsBase.h"
 
-#if defined(mingw32_TARGET_OS)
+#if defined(mingw32_TARGET_OS) || defined(__MINGW32__) || defined(_MSC_VER)
 #include <windows.h>
 
 static