From 2d8ba0047e72cb70c6aecdc5e01d7e5df9ceed4b Mon Sep 17 00:00:00 2001 From: "Malcolm.Wallace@cs.york.ac.uk" Date: Mon, 16 Mar 2009 13:45:32 +0000 Subject: [PATCH] ghcconfig.h is __GLASGOW_HASKELL__ only --- cbits/dirUtils.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cbits/dirUtils.c b/cbits/dirUtils.c index 6bc8ad6..ed3f9e8 100644 --- a/cbits/dirUtils.c +++ b/cbits/dirUtils.c @@ -5,7 +5,9 @@ */ /* needed only for solaris2_HOST_OS */ +#ifdef __GLASGOW_HASKELL__ #include "ghcconfig.h" +#endif // The following is required on Solaris to force the POSIX versions of // the various _r functions instead of the Solaris versions. -- 1.7.10.4