[project @ 2004-08-16 09:31:50 by simonmar]
authorsimonmar <unknown>
Mon, 16 Aug 2004 09:31:50 +0000 (09:31 +0000)
committersimonmar <unknown>
Mon, 16 Aug 2004 09:31:50 +0000 (09:31 +0000)
#ifdefery to work around change in name of config.h.

ghc/utils/runghc/runghc.hs

index 8adf9e9..be04cdf 100644 (file)
@@ -1,5 +1,9 @@
 {-# OPTIONS -cpp -fffi #-}
+#if __GLASGOW_HASKELL__ < 603
 #include "config.h"
+#else
+#include "ghcconfig.h"
+#endif
 -----------------------------------------------------------------------------
 --
 -- (c) The University of Glasgow, 2004