From: Malcolm.Wallace@cs.york.ac.uk Date: Mon, 16 Mar 2009 13:45:32 +0000 (+0000) Subject: ghcconfig.h is __GLASGOW_HASKELL__ only X-Git-Tag: 2009-06-25~48 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=2d8ba0047e72cb70c6aecdc5e01d7e5df9ceed4b;p=ghc-base.git ghcconfig.h is __GLASGOW_HASKELL__ only --- 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.