summaryrefslogtreecommitdiff
path: root/includes/ghc.mk
diff options
context:
space:
mode:
Diffstat (limited to 'includes/ghc.mk')
-rw-r--r--includes/ghc.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/includes/ghc.mk b/includes/ghc.mk
index e87a4874cf..aacca0805b 100644
--- a/includes/ghc.mk
+++ b/includes/ghc.mk
@@ -60,9 +60,7 @@ $(includes_H_VERSION) : mk/project.mk | $$(dir $$@)/.
@echo "#ifndef __GHCVERSION_H__" > $@
@echo "#define __GHCVERSION_H__" >> $@
@echo >> $@
- @echo "#ifndef __GLASGOW_HASKELL__" >> $@
- @echo "# define __GLASGOW_HASKELL__ $(ProjectVersionInt)" >> $@
- @echo "#endif" >> $@
+ @echo "#define __GLASGOW_HASKELL__ $(ProjectVersionInt)" >> $@
@echo >> $@
@if [ -n "$(ProjectPatchLevel1)" ]; then \
echo "#define __GLASGOW_HASKELL_PATCHLEVEL1__ $(ProjectPatchLevel1)" >> $@; \