diff options
author | Biswapriyo Nath <nathbappai@gmail.com> | 2020-08-11 02:31:32 +0530 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@gmail.com> | 2020-09-11 20:07:26 +0300 |
commit | c9352933fe3b383a0208430183b44a0d43f70a04 (patch) | |
tree | ee0d916b555258ed5a3e4a76d125a22a3071a1d8 /fuzz/test-corpus.c | |
parent | 64713cb10de05c2e3ac63300f4073b11f57287ba (diff) | |
download | openssl-c9352933fe3b383a0208430183b44a0d43f70a04.tar.gz |
fuzz/test-corpus: check if PATH_MAX is already defined
CLA: trivial
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/12620)
Diffstat (limited to 'fuzz/test-corpus.c')
-rw-r--r-- | fuzz/test-corpus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fuzz/test-corpus.c b/fuzz/test-corpus.c index a2b76ea866..6491d0c21c 100644 --- a/fuzz/test-corpus.c +++ b/fuzz/test-corpus.c @@ -22,7 +22,7 @@ #include "fuzzer.h" #include "internal/o_dir.h" -#if defined(_WIN32) && defined(_MAX_PATH) +#if defined(_WIN32) && defined(_MAX_PATH) && !defined(PATH_MAX) # define PATH_MAX _MAX_PATH #endif |