summaryrefslogtreecommitdiff
path: root/dll.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dll.cpp')
-rw-r--r--dll.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/dll.cpp b/dll.cpp
index 63d5427..f8714a1 100644
--- a/dll.cpp
+++ b/dll.cpp
@@ -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);
}