From c35b8535768e22cd3b7743f4887a72e53a621a5f Mon Sep 17 00:00:00 2001 From: aSoujyuTanaka Date: Sun, 12 Apr 2020 04:10:57 +0900 Subject: Enable WinCE build without deceiving _MSC_VER. Reviewed-by: Mark J. Cox Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/11526) --- crypto/o_str.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/o_str.c') 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; -- cgit v1.2.3