summaryrefslogtreecommitdiff
path: root/src/report.h
diff options
context:
space:
mode:
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_) {