X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=inline;f=cbits%2FconsUtils.c;h=63665d0a0ee7d48ecc0b47bf1e9c16bd47412c82;hb=e0b4718ee302c4349eb892369b63098bc1e02488;hp=fd514408d3e4c4da2f5bf57de83799de960915fc;hpb=2f71a076d6210da9fe91641a8bf9787d13c58ee5;p=ghc-base.git diff --git a/cbits/consUtils.c b/cbits/consUtils.c index fd51440..63665d0 100644 --- a/cbits/consUtils.c +++ b/cbits/consUtils.c @@ -3,8 +3,8 @@ * * Win32 Console API support */ -#include "config.h" -#if defined(mingw32_TARGET_OS) || defined(cygwin32_TARGET_OS) +#include "ghcconfig.h" +#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) || ... */