summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2015-12-31 16:58:28 +0100
committerHerbert Valerio Riedel <hvr@gnu.org>2015-12-31 17:00:21 +0100
commit351dea4a7c07f4e845eac6c2e895f6f41524b40c (patch)
treea479a38cf037a0d3e2e8063f53f56df23a5e2b05 /includes
parent70eefbc21649b11cd0ea1b779df316fc93d84a59 (diff)
downloadhaskell-351dea4a7c07f4e845eac6c2e895f6f41524b40c.tar.gz
Drop redundant `-D__GLASGOW_HASKELL__=...` flag
In 3549c952b535803270872adaf87262f2df0295a4 a `include/ghcversions.h` include file was introduced which defines `__GLASGOW_HASKELL__` as well. So there's no need to define it twice.
Diffstat (limited to 'includes')
-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)" >> $@; \