1 2 3 4 5 6 7 8 9 10 11 12 13
|
Index: b/lib/Data/GI/CodeGen/Code.hs
===================================================================
--- a/lib/Data/GI/CodeGen/Code.hs
+++ b/lib/Data/GI/CodeGen/Code.hs
@@ -873,7 +873,7 @@ ghcOptions opts = "{-# OPTIONS_GHC " <>
-- | Generate some convenience CPP macros.
cppMacros :: Text
cppMacros = T.unlines
- ["#if (MIN_VERSION_haskell_gi_overloading(1,0,0) && !defined(__HADDOCK_VERSION__))"
+ ["#if !defined(__HADDOCK_VERSION__)"
, "#define ENABLE_OVERLOADING"
, "#endif"]
|