X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Flib%2Fcompat%2Fcbits%2Fdirectory.c;h=af09655965211b9400f1ba948040f14c02ecaffb;hb=153b9cb9b11e05c4edb1b6bc0a7b972660e41f70;hp=af3810ca69d83ef3066742208916ce93c0896b0b;hpb=ab3e6dbac144c63bde23c833c7bfb99097130732;p=ghc-hetmet.git diff --git a/ghc/lib/compat/cbits/directory.c b/ghc/lib/compat/cbits/directory.c index af3810c..af09655 100644 --- a/ghc/lib/compat/cbits/directory.c +++ b/ghc/lib/compat/cbits/directory.c @@ -1,8 +1,4 @@ -#if __GLASGOW_HASKELL__ < 603 -#include "config.h" -#else -#include "ghcconfig.h" -#endif +#include "../../../includes/ghcconfig.h" #include "HsFFI.h" @@ -29,7 +25,7 @@ INLINE HsInt __compat_long_path_size() { return PATH_MAX; } INLINE HsInt __compat_long_path_size() { return 4096; } #endif -#if defined(mingw32_TARGET_OS) +#if defined(mingw32_HOST_OS) /* Make sure we've got the reqd CSIDL_ constants in scope; * w32api header files are lagging a bit in defining the full set.