diff options
author | aSoujyuTanaka <soujyu.tanaka@access-company.com> | 2020-04-12 04:10:57 +0900 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-07-15 23:03:22 +0200 |
commit | c35b8535768e22cd3b7743f4887a72e53a621a5f (patch) | |
tree | e1c7c98e196ea7c071dbc062e08d9aee898d2319 /crypto/o_str.c | |
parent | a1736f37aee855fecf463b9f15519e12c333ecfc (diff) |
Enable WinCE build without deceiving _MSC_VER.
Reviewed-by: Mark J. Cox <mark@awe.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11526)
Diffstat (limited to 'crypto/o_str.c')
-rw-r--r-- | crypto/o_str.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/o_str.c b/crypto/o_str.c index 8aa1a2a4dd..cfc401427d 100644 --- a/crypto/o_str.c +++ b/crypto/o_str.c @@ -287,7 +287,7 @@ char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen) int openssl_strerror_r(int errnum, char *buf, size_t buflen) { -#if defined(_MSC_VER) && _MSC_VER>=1400 +#if defined(_MSC_VER) && _MSC_VER>=1400 && !defined(_WIN32_WCE) return !strerror_s(buf, buflen, errnum); #elif defined(_GNU_SOURCE) char *err; |