summaryrefslogtreecommitdiff
path: root/compiler/cbits/rawSystem.c
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/cbits/rawSystem.c')
-rw-r--r--compiler/cbits/rawSystem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/cbits/rawSystem.c b/compiler/cbits/rawSystem.c
index d103f4808b..3ef37e56e4 100644
--- a/compiler/cbits/rawSystem.c
+++ b/compiler/cbits/rawSystem.c
@@ -1,6 +1,6 @@
/* Grab rawSystem from the library sources iff we're bootstrapping with an
* old version of GHC.
*/
-#if __GLASGOW_HASKELL__ < 601
+#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ < 601
#include "../../libraries/base/cbits/rawSystem.c"
#endif