ghcconfig.h is __GLASGOW_HASKELL__ only
authorMalcolm.Wallace@cs.york.ac.uk <unknown>
Mon, 16 Mar 2009 13:45:32 +0000 (13:45 +0000)
committerMalcolm.Wallace@cs.york.ac.uk <unknown>
Mon, 16 Mar 2009 13:45:32 +0000 (13:45 +0000)
cbits/dirUtils.c

index 6bc8ad6..ed3f9e8 100644 (file)
@@ -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.