diff --git a/Data/Aeson/TH.hs b/Data/Aeson/TH.hs
--- a/Data/Aeson/TH.hs
+++ b/Data/Aeson/TH.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE CPP, FlexibleInstances, NamedFieldPuns,
     NoImplicitPrelude, UndecidableInstances #-}
-#if __GLASGOW_HASKELL >= 800
+#if __GLASGOW_HASKELL__ >= 800
 -- a) THQ works on cross-compilers and unregisterised GHCs
 -- b) may make compilation faster as no dynamic loading is ever needed (not sure about this)
 -- c) removes one hindrance to have code inferred as SafeHaskell safe
diff --git a/Data/Aeson/Types/Internal.hs b/Data/Aeson/Types/Internal.hs
--- a/Data/Aeson/Types/Internal.hs
+++ b/Data/Aeson/Types/Internal.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE CPP, DeriveDataTypeable, GeneralizedNewtypeDeriving, Rank2Types,
     RecordWildCards #-}
-#if __GLASGOW_HASKELL >= 800
+#if __GLASGOW_HASKELL__ >= 800
 -- a) THQ works on cross-compilers and unregisterised GHCs
 -- b) may make compilation faster as no dynamic loading is ever needed (not sure about this)
 -- c) removes one hindrance to have code inferred as SafeHaskell safe
diff --git a/aeson.cabal b/aeson.cabal
--- a/aeson.cabal
+++ b/aeson.cabal
@@ -1,5 +1,5 @@
 name:            aeson
-version:         0.11.1.2
+version:         0.11.1.3
 license:         BSD3
 license-file:    LICENSE
 category:        Text, Web, JSON
diff --git a/changelog.md b/changelog.md
--- a/changelog.md
+++ b/changelog.md
@@ -1,5 +1,9 @@
 For the latest version of this document, please see [https://github.com/bos/aeson/blob/master/changelog.md](https://github.com/bos/aeson/blob/master/changelog.md).
 
+#### 0.11.1.3
+
+* Fix build on TH-less GHCs
+
 #### 0.11.1.2
 
 * Fix build with `base < 4.8` and `unordered-containers < 0.2.6`.
