mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2025-02-09 22:52:36 +00:00
Avoid inlining LibraryVersion (Issue 371)
This commit is contained in:
parent
f9773d2961
commit
d8570a3435
@ -947,7 +947,7 @@ void AuthenticatedKeyAgreementDomain::GenerateEphemeralKeyPair(RandomNumberGener
|
||||
#ifndef CRYPTOPP_BUILD_VERSION
|
||||
# define CRYPTOPP_BUILD_VERSION CRYPTOPP_VERSION
|
||||
#endif
|
||||
int LibraryVersion()
|
||||
int LibraryVersion(CRYPTOPP_NOINLINE_DOTDOTDOT)
|
||||
{
|
||||
return CRYPTOPP_BUILD_VERSION;
|
||||
}
|
||||
|
@ -2943,7 +2943,7 @@ public:
|
||||
//! \sa HeaderVersion(), <A HREF="http://github.com/weidai11/cryptopp/issues/371">GitHub Issue 371</A>.
|
||||
//! \since Crypto++ 6.0
|
||||
extern "C" {
|
||||
int LibraryVersion();
|
||||
int LibraryVersion(CRYPTOPP_NOINLINE_DOTDOTDOT);
|
||||
} // C linkage
|
||||
|
||||
//! \brief Specifies the runtime version of the library
|
||||
|
Loading…
x
Reference in New Issue
Block a user