summaryrefslogtreecommitdiff
path: root/src/common/exec.c
diff options
context:
space:
mode:
authorMagnus Hagander2017-04-11 13:21:25 +0000
committerMagnus Hagander2017-04-11 13:22:21 +0000
commita4777f35565b80ae10605d6d417e5d173156f7da (patch)
tree91b191a40437fd4d98a163bb4ce0f6ad8a3c8aff /src/common/exec.c
parent6da56f3f84d430671d5edd8f9336bd744c089e31 (diff)
Remove symbol WIN32_ONLY_COMPILER
This used to mean "Visual C++ except in those parts where Borland C++ was supported where it meant one of those". Now that we don't support Borland C++ anymore, simplify by using _MSC_VER which is the normal way to detect Visual C++.
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 ff592fc170..bd01c2d9a2 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