From 351dea4a7c07f4e845eac6c2e895f6f41524b40c Mon Sep 17 00:00:00 2001 From: Herbert Valerio Riedel Date: Thu, 31 Dec 2015 16:58:28 +0100 Subject: 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. --- includes/ghc.mk | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'includes') 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)" >> $@; \ -- cgit v1.2.1