[commit: ghc] ghc-7.10: Fix typo in GLASGOW_HASKELL_PATCHLEVEL2 macro (a8c556d)

git at git.haskell.org git at git.haskell.org
Mon Dec 22 16:43:21 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-7.10
Link       : http://ghc.haskell.org/trac/ghc/changeset/a8c556dfca3eca5277615cc2bf9d6c8f1f143c9a/ghc

>---------------------------------------------------------------

commit a8c556dfca3eca5277615cc2bf9d6c8f1f143c9a
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Mon Dec 22 17:35:39 2014 +0100

    Fix typo in GLASGOW_HASKELL_PATCHLEVEL2 macro
    
    This typo slipped in through 3549c952b535803270872adaf87262f2df0295a4
    
    (cherry picked from commit 3879bdf3afb00ff8569cba4648876652d1addadb)


>---------------------------------------------------------------

a8c556dfca3eca5277615cc2bf9d6c8f1f143c9a
 includes/ghc.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/includes/ghc.mk b/includes/ghc.mk
index f0bfbec..c7cec6c 100644
--- a/includes/ghc.mk
+++ b/includes/ghc.mk
@@ -68,7 +68,7 @@ $(includes_H_VERSION) : mk/project.mk | $$(dir $$@)/.
 	  echo "#define __GLASGOW_HASKELL_PATCHLEVEL1__ $(ProjectPatchLevel1)" >> $@; \
 	fi
 	@if [ -n "$(ProjectPatchLevel2)" ]; then \
-	  echo "#define __GLASGOW_HASKELL_PATCHLEVEL1__ $(ProjectPatchLevel2)" >> $@; \
+	  echo "#define __GLASGOW_HASKELL_PATCHLEVEL2__ $(ProjectPatchLevel2)" >> $@; \
 	fi
 	@echo >> $@
 	@echo '#define MIN_VERSION_GLASGOW_HASKELL(ma,mi,pl1,pl2) (\\'     >> $@



More information about the ghc-commits mailing list