summaryrefslogtreecommitdiff
path: root/src/report.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2016-09-17 14:41:15 -0700
committerGitHub <noreply@github.com>2016-09-17 14:41:15 -0700
commit132156766770da8340138aab117cf7e37787403c (patch)
tree5f837949c367f435d947833c6f52e37473357ee6 /src/report.h
parenta3b573e1107729e743c96da8ed9272361ba6ae31 (diff)
parentc193cc3a5b4dbf39e19744cf4d30e616298eaa86 (diff)
downloadfork-ledger-132156766770da8340138aab117cf7e37787403c.tar.gz
fork-ledger-132156766770da8340138aab117cf7e37787403c.tar.bz2
fork-ledger-132156766770da8340138aab117cf7e37787403c.zip
Merge pull request #466 from schmave/win-1
Fix build under msys32; add Appveyor continuous build
Diffstat (limited to 'src/report.h')
-rw-r--r--src/report.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/report.h b/src/report.h
index 0873e64f..cdff13ae 100644
--- a/src/report.h
+++ b/src/report.h
@@ -793,7 +793,8 @@ public:
OPTION(report_t, output_); // -o
-#if HAVE_ISATTY
+// setenv() is not available on WIN32
+#if defined(HAVE_ISATTY) and !defined(_WIN32)
OPTION__
(report_t, pager_,
CTOR(report_t, pager_) {