diff options
author | weidai <weidai11@users.noreply.github.com> | 2003-07-11 19:48:49 +0000 |
---|---|---|
committer | weidai <weidai11@users.noreply.github.com> | 2003-07-11 19:48:49 +0000 |
commit | e43a0491cddf3c55c2137addbb834cd5fe43e47a (patch) | |
tree | 6791af2f3f793b56755a4e1ec951ebbc21202091 /dll.cpp | |
parent | cadf4f866a50c3d74e8819dac1e0cf7480077f09 (diff) | |
download | cryptopp-git-e43a0491cddf3c55c2137addbb834cd5fe43e47a.tar.gz |
fix for Unix
Diffstat (limited to 'dll.cpp')
-rw-r--r-- | dll.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -55,7 +55,7 @@ using std::set_new_handler; static PNew s_pNew = NULL; static PDelete s_pDelete = NULL; -static void * _cdecl New (size_t size) +static void * CRYPTOPP_CDECL New (size_t size) { new_handler newHandler = set_new_handler(NULL); if (newHandler) @@ -124,7 +124,7 @@ static void SetNewAndDeleteFunctionPointers() throw 0; } -void * _cdecl operator new (size_t size) +void * CRYPTOPP_CDECL operator new (size_t size) { if (!s_pNew) SetNewAndDeleteFunctionPointers(); @@ -132,7 +132,7 @@ void * _cdecl operator new (size_t size) return s_pNew(size); } -void _cdecl operator delete (void * p) +void CRYPTOPP_CDECL operator delete (void * p) { s_pDelete(p); } |