on master help sign in
Fix typo in 125b641785e1ce3f9facfaf7199de2917d4

The `__GLASGOW_HASKELL__` identifier was written incorrectly therefore causing 125b641785e1ce3f9facfaf7199de2917d4 to have no effect, and hence making `aeson` fail on TH-less GHCs

commite99676af83fb9f795c995e4271f91fea6d626a70 authorHerbert Valerio Riedel <hvr@gnu.org> dateTue 22 Mar 2016, 20:07 (11 years ago) parent5589a4d
2 files changed+2−2
Data/Aeson/TH.hs+1−1 Data/Aeson/Types/Internal.hs+1−1
Data/Aeson/TH.hs+1−1
@@ -1,6 +1,6 @@
11{-# LANGUAGE CPP, FlexibleInstances, NamedFieldPuns,
22 NoImplicitPrelude, UndecidableInstances #-}
3−#if __GLASGOW_HASKELL >= 800
3+#if __GLASGOW_HASKELL__ >= 800
44-- a) THQ works on cross-compilers and unregisterised GHCs
55-- b) may make compilation faster as no dynamic loading is ever needed (not sure about this)
66-- c) removes one hindrance to have code inferred as SafeHaskell safe
Data/Aeson/Types/Internal.hs+1−1
@@ -1,6 +1,6 @@
11{-# LANGUAGE CPP, DeriveDataTypeable, GeneralizedNewtypeDeriving, Rank2Types,
22 RecordWildCards #-}
3−#if __GLASGOW_HASKELL >= 800
3+#if __GLASGOW_HASKELL__ >= 800
44-- a) THQ works on cross-compilers and unregisterised GHCs
55-- b) may make compilation faster as no dynamic loading is ever needed (not sure about this)
66-- c) removes one hindrance to have code inferred as SafeHaskell safe