[project @ 2005-01-28 12:55:17 by simonmar]
[ghc-hetmet.git] / ghc / lib / compat / cbits / directory.c
index af3810c..af09655 100644 (file)
@@ -1,8 +1,4 @@
-#if __GLASGOW_HASKELL__ < 603\r
-#include "config.h"\r
-#else\r
-#include "ghcconfig.h"\r
-#endif\r
+#include "../../../includes/ghcconfig.h"\r
 \r
 #include "HsFFI.h"\r
 \r
@@ -29,7 +25,7 @@ INLINE HsInt __compat_long_path_size() { return PATH_MAX; }
 INLINE HsInt __compat_long_path_size() { return 4096; }\r
 #endif\r
 \r
-#if defined(mingw32_TARGET_OS)\r
+#if defined(mingw32_HOST_OS)\r
 \r
 /* Make sure we've got the reqd CSIDL_ constants in scope;\r
  * w32api header files are lagging a bit in defining the full set.\r