fix missing CRYPTOPP_API

pull/2/head
weidai 2007-09-25 07:25:47 +00:00
parent a6801dbcaf
commit 18366293b2
2 changed files with 3 additions and 3 deletions

4
cpu.h
View File

@ -30,9 +30,9 @@ extern CRYPTOPP_DLL bool g_hasMMX;
extern CRYPTOPP_DLL bool g_hasSSSE3; extern CRYPTOPP_DLL bool g_hasSSSE3;
extern CRYPTOPP_DLL bool g_isP4; extern CRYPTOPP_DLL bool g_isP4;
extern CRYPTOPP_DLL word32 g_cacheLineSize; 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 #if CRYPTOPP_BOOL_X64
inline bool HasSSE2() {return true;} inline bool HasSSE2() {return true;}

2
misc.h
View File

@ -395,7 +395,7 @@ inline CipherDir GetCipherDir(const T &obj)
return obj.IsForwardTransformation() ? ENCRYPTION : DECRYPTION; return obj.IsForwardTransformation() ? ENCRYPTION : DECRYPTION;
} }
CRYPTOPP_DLL void CallNewHandler(); CRYPTOPP_DLL void CRYPTOPP_API CallNewHandler();
inline void IncrementCounterByOne(byte *inout, unsigned int s) inline void IncrementCounterByOne(byte *inout, unsigned int s)
{ {