From a4777f35565b80ae10605d6d417e5d173156f7da Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Tue, 11 Apr 2017 15:21:25 +0200 Subject: 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++. --- src/common/exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/exec.c') 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 -- cgit v1.2.3