summaryrefslogtreecommitdiffstats
path: root/apps/cmp.c
diff options
context:
space:
mode:
authorTanzinul Islam <tanzinul.islam@gmail.com>2020-12-09 00:45:11 +0000
committerDmitry Belyavskiy <beldmit@gmail.com>2021-04-19 11:05:54 +0200
commit96d4ec6724a9ecc5d193172d0cf1a347f428372a (patch)
tree2f11dbca5382c5b7adef81fc9480ebee5c7825f8 /apps/cmp.c
parent6afb36342d4bc63a774fd96088ededfc00401e1d (diff)
Avoid more MSVC-specific C runtime library functions
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> (Merged from https://github.com/openssl/openssl/pull/13540)
Diffstat (limited to 'apps/cmp.c')
-rw-r--r--apps/cmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/cmp.c b/apps/cmp.c
index 50282315d8..644fb545d2 100644
--- a/apps/cmp.c
+++ b/apps/cmp.c
@@ -20,7 +20,7 @@
#include "cmp_mock_srv.h"
/* tweaks needed due to missing unistd.h on Windows */
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(__BORLANDC__)
# define access _access
#endif
#ifndef F_OK