diff --git a/cpu.h b/cpu.h index 7ec73d9b..ab545d26 100755 --- a/cpu.h +++ b/cpu.h @@ -30,9 +30,9 @@ extern CRYPTOPP_DLL bool g_hasMMX; extern CRYPTOPP_DLL bool g_hasSSSE3; extern CRYPTOPP_DLL bool g_isP4; extern CRYPTOPP_DLL word32 g_cacheLineSize; -CRYPTOPP_DLL void DetectX86Features(); +CRYPTOPP_DLL void CRYPTOPP_API DetectX86Features(); -CRYPTOPP_DLL bool CpuId(word32 input, word32 *output); +CRYPTOPP_DLL bool CRYPTOPP_API CpuId(word32 input, word32 *output); #if CRYPTOPP_BOOL_X64 inline bool HasSSE2() {return true;} diff --git a/misc.h b/misc.h index 132db7cf..d9b22a69 100644 --- a/misc.h +++ b/misc.h @@ -395,7 +395,7 @@ inline CipherDir GetCipherDir(const T &obj) return obj.IsForwardTransformation() ? ENCRYPTION : DECRYPTION; } -CRYPTOPP_DLL void CallNewHandler(); +CRYPTOPP_DLL void CRYPTOPP_API CallNewHandler(); inline void IncrementCounterByOne(byte *inout, unsigned int s) {