reduce dependency on ghcconfig.h
[haskell-directory.git] / cbits / execvpe.c
index 2234f09..eb24bd3 100644 (file)
@@ -5,7 +5,7 @@
    -------------------------------------------------------------------------- */
 #include "HsBase.h"
 
-#if !defined(mingw32_HOST_OS) /* to the end */
+#if !(defined(_MSC_VER) || defined(__MINGW32__) || defined(_WIN32)) /* to the end */
 
 /* Evidently non-Posix. */
 /* #include "PosixSource.h" */