aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-01-04 18:36:15 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2019-01-04 18:36:15 -0800
commitfc87925b772b3e0e47cbdb30878e0288f1bb6853 (patch)
treec91f225f342a7bb4c45f1840fe22e3f858697a56 /pandoc.cabal
parentae4a5f48584ae88fc4c812270ad9990b694f7398 (diff)
downloadpandoc-fc87925b772b3e0e47cbdb30878e0288f1bb6853.tar.gz
Tests: Fix findPandoc to work with Windows.
Diffstat (limited to 'pandoc.cabal')
-rw-r--r--pandoc.cabal2
1 files changed, 2 insertions, 0 deletions
diff --git a/pandoc.cabal b/pandoc.cabal
index c23552c08..5efd740cd 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -713,6 +713,8 @@ test-suite test-pandoc
Tests.Writers.FB2
Tests.Writers.Powerpoint
Tests.Writers.OOXML
+ if os(windows)
+ cpp-options: -D_WINDOWS
ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
default-language: Haskell2010
other-extensions: NoImplicitPrelude