more mind-numbing CPP tweaking
* 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"
return -1;
}
-#endif /* defined(mingw32_TARGET_OS) || defined(cygwin32_TARGET_OS) */
+#endif /* defined(mingw32_TARGET_OS) || ... */
#include "HsBase.h"
-#if defined(mingw32_TARGET_OS)
+#if defined(mingw32_TARGET_OS) || defined(__MINGW32__) || defined(_MSC_VER)
#include <windows.h>
static