Fix missing define for MSVC
parent
4904d0fc8d
commit
4d9c91b425
|
|
@ -40,6 +40,8 @@
|
||||||
// https://www.spinics.net/lists/gcchelp/msg47749.html
|
// https://www.spinics.net/lists/gcchelp/msg47749.html
|
||||||
#if (CRYPTOPP_GCC_VERSION >= 40900)
|
#if (CRYPTOPP_GCC_VERSION >= 40900)
|
||||||
# define GCC_NO_UBSAN __attribute__ ((no_sanitize_undefined))
|
# define GCC_NO_UBSAN __attribute__ ((no_sanitize_undefined))
|
||||||
|
#else
|
||||||
|
# define GCC_NO_UBSAN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ANONYMOUS_NAMESPACE_BEGIN
|
ANONYMOUS_NAMESPACE_BEGIN
|
||||||
|
|
|
||||||
|
|
@ -49,6 +49,8 @@
|
||||||
// https://www.spinics.net/lists/gcchelp/msg47749.html
|
// https://www.spinics.net/lists/gcchelp/msg47749.html
|
||||||
#if (CRYPTOPP_GCC_VERSION >= 40900)
|
#if (CRYPTOPP_GCC_VERSION >= 40900)
|
||||||
# define GCC_NO_UBSAN __attribute__ ((no_sanitize_undefined))
|
# define GCC_NO_UBSAN __attribute__ ((no_sanitize_undefined))
|
||||||
|
#else
|
||||||
|
# define GCC_NO_UBSAN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ANONYMOUS_NAMESPACE_BEGIN
|
ANONYMOUS_NAMESPACE_BEGIN
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue