summaryrefslogtreecommitdiff
path: root/ghc/hschooks.c
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-07-16 22:37:03 +0000
committerIan Lynagh <igloo@earth.li>2010-07-16 22:37:03 +0000
commit8e0dcfd80c47a55aa94df2fc74ef12d780906a3e (patch)
treee30e3d1a1e21daf5a4c7dea11ae583936689b8c3 /ghc/hschooks.c
parent06c0128c1ee0f08c710bbb1a120acf08b5da9665 (diff)
downloadhaskell-8e0dcfd80c47a55aa94df2fc74ef12d780906a3e.tar.gz
Use gcc to build C programs for stages >= 1
Diffstat (limited to 'ghc/hschooks.c')
-rw-r--r--ghc/hschooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/hschooks.c b/ghc/hschooks.c
index 2224b0210e..f3c4b4d1a7 100644
--- a/ghc/hschooks.c
+++ b/ghc/hschooks.c
@@ -5,7 +5,7 @@ in instead of the defaults.
*/
#include "Rts.h"
-#if __GLASGOW_HASKELL__ <611
+#if defined(__GLASGOW_HASKELL__) && (__GLASGOW_HASKELL__ <611)
#include "RtsFlags.h"
#endif