summaryrefslogtreecommitdiff
path: root/tools/tools-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/tools-common.h')
-rw-r--r--tools/tools-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tools-common.h b/tools/tools-common.h
index 780720a..0c16505 100644
--- a/tools/tools-common.h
+++ b/tools/tools-common.h
@@ -54,7 +54,7 @@ tools_enable_stdin_echo(void);
int
tools_exec_command(const char *prefix, int argc, char **argv);
-#ifdef _MSC_VER
+#ifdef _WIN32
#define setenv(varname, value, overwrite) _putenv_s((varname), (value))
#define unsetenv(varname) _putenv_s(varname, "")
#endif