diff options
author | Tanzinul Islam <tanzinul.islam@gmail.com> | 2020-12-09 00:45:11 +0000 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@gmail.com> | 2021-04-19 11:05:54 +0200 |
commit | 96d4ec6724a9ecc5d193172d0cf1a347f428372a (patch) | |
tree | 2f11dbca5382c5b7adef81fc9480ebee5c7825f8 /test/conf_include_test.c | |
parent | 6afb36342d4bc63a774fd96088ededfc00401e1d (diff) | |
download | openssl-96d4ec6724a9ecc5d193172d0cf1a347f428372a.tar.gz |
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 'test/conf_include_test.c')
-rw-r--r-- | test/conf_include_test.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/conf_include_test.c b/test/conf_include_test.c index 0cf8d49740..a38c4913d2 100644 --- a/test/conf_include_test.c +++ b/test/conf_include_test.c @@ -16,7 +16,9 @@ #ifdef _WIN32 # include <direct.h> # define DIRSEP "/\\" -# define chdir _chdir +# ifndef __BORLANDC__ +# define chdir _chdir +# endif # define DIRSEP_PRESERVE 0 #elif !defined(OPENSSL_NO_POSIX_IO) # include <unistd.h> |