aboutsummaryrefslogtreecommitdiff
path: root/src/common/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/exec.c')
-rw-r--r--src/common/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/exec.c b/src/common/exec.c
index ff592fc1707..bd01c2d9a27 100644
--- a/src/common/exec.c
+++ b/src/common/exec.c
@@ -35,7 +35,7 @@
#define log_error4(str, param, arg1) (fprintf(stderr, str, param, arg1), fputc('\n', stderr))
#endif
-#ifdef WIN32_ONLY_COMPILER
+#ifdef _MSC_VER
#define getcwd(cwd,len) GetCurrentDirectory(len, cwd)
#endif