summaryrefslogtreecommitdiff
path: root/src/global.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/global.cc')
-rw-r--r--src/global.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/global.cc b/src/global.cc
index 6edc69ca..a3f84409 100644
--- a/src/global.cc
+++ b/src/global.cc
@@ -451,7 +451,7 @@ expr_t::func_t global_scope_t::look_for_command(scope_t& scope,
void global_scope_t::visit_man_page() const
{
-#ifndef WIN32
+#ifndef _WIN32
int pid = fork();
if (pid < 0) {
throw std::logic_error(_("Failed to fork child process"));