[commit: ghc] master: Fix typo in GLASGOW_HASKELL_PATCHLEVEL2 macro (3879bdf)

git at git.haskell.org git at git.haskell.org
Mon Dec 22 16:36:09 UTC 2014


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/3879bdf3afb00ff8569cba4648876652d1addadb/ghc

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

commit 3879bdf3afb00ff8569cba4648876652d1addadb
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


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

3879bdf3afb00ff8569cba4648876652d1addadb
 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