@@ -330,7 +330,11 @@ Executable test-pandoc
330330 Hs-Source-Dirs: tests, src
331331 Main-Is: test-pandoc.hs
332332 if flag(highlighting)
333− cpp-options: -D_HIGHLIGHTING
333+ cpp-options: -D_HIGHLIGHTING
334+ if impl(ghc >= 7)
335+ cpp-options: -D_LIT=lit
336+ else
337+ cpp-options: -D_LIT=$lit
334338 if !flag(tests)
335339 Buildable: False
336340 else
@@ -342,9 +346,9 @@ Executable test-pandoc
342346 Build-Depends: base >= 4 && < 5, Diff, test-framework >= 0.3 && < 0.4,
343347 test-framework-hunit >= 0.2 && < 0.3,
344348 test-framework-quickcheck2 >= 0.2.9 && < 0.3,
345− QuickCheck == 2.4.*,
349+ QuickCheck >= 2.4 && < 2.6,
346350 HUnit >= 1.2 && < 1.3,
347− template-haskell == 2.4.*,
351+ template-haskell >= 2.4 && < 2.6,
348352 ansi-terminal == 0.5.*
349353 Other-Modules: Tests.Old
350354 Tests.Helpers