summaryrefslogtreecommitdiff
path: root/ghc/hschooks.c
diff options
context:
space:
mode:
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