Ignore MSVC warnings (via Gisle Vanem)
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3420)
This commit is contained in:
parent
bb01ef3f4a
commit
05004f366e
1 changed files with 13 additions and 0 deletions
|
@ -195,8 +195,21 @@ void OPENSSL_LH_node_usage_stats_bio(const OPENSSL_LHASH *lh, BIO *out);
|
|||
LHASH_OF(type)
|
||||
|
||||
DEFINE_LHASH_OF(OPENSSL_STRING);
|
||||
# ifdef _MSC_VER
|
||||
/*
|
||||
* push and pop this warning:
|
||||
* warning C4090: 'function': different 'const' qualifiers
|
||||
*/
|
||||
# pragma warning (push)
|
||||
# pragma warning (disable: 4090)
|
||||
# endif
|
||||
|
||||
DEFINE_LHASH_OF(OPENSSL_CSTRING);
|
||||
|
||||
# ifdef _MSC_VER
|
||||
# pragma warning (pop)
|
||||
# endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue