mirror of
https://github.com/openssl/openssl.git
synced 2026-05-07 20:12:39 +00:00
Fix MINGW compilation
This patch fixes undefined reference to `ossl_BIO_snprintf_msvc' Define it only if MSVC is used. Signed-off-by: Milan Broz <gmazyland@gmail.com> Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.foundation> MergeDate: Wed Mar 25 14:12:58 2026 (Merged from https://github.com/openssl/openssl/pull/30541)
This commit is contained in:
@@ -107,7 +107,7 @@ int ossl_core_bio_vprintf(OSSL_CORE_BIO *cb, const char *format, va_list args);
|
||||
|
||||
int ossl_bio_init_core(OSSL_LIB_CTX *libctx, const OSSL_DISPATCH *fns);
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifdef _MSC_VER
|
||||
int ossl_BIO_snprintf_msvc(char *buf, size_t n, const char *fmt, ...);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user