diff --git a/cryptlib.cpp b/cryptlib.cpp index 7942ea25..140184ae 100644 --- a/cryptlib.cpp +++ b/cryptlib.cpp @@ -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; } diff --git a/cryptlib.h b/cryptlib.h index addf9c2c..867a84f1 100644 --- a/cryptlib.h +++ b/cryptlib.h @@ -2943,7 +2943,7 @@ public: //! \sa HeaderVersion(), GitHub Issue 371. //! \since Crypto++ 6.0 extern "C" { - int LibraryVersion(); + int LibraryVersion(CRYPTOPP_NOINLINE_DOTDOTDOT); } // C linkage //! \brief Specifies the runtime version of the library