msvcp90: Correctly declare pointers to delete/new functions.
This commit is contained in:
parent
faa7eae8c4
commit
cb432866d2
|
@ -23,8 +23,8 @@ typedef unsigned char MSVCP_BOOL;
|
|||
void __cdecl _invalid_parameter(const wchar_t*, const wchar_t*,
|
||||
const wchar_t*, unsigned int, uintptr_t);
|
||||
|
||||
void* (__cdecl *MSVCRT_operator_new)(size_t);
|
||||
void (__cdecl *MSVCRT_operator_delete)(void*);
|
||||
extern void* (__cdecl *MSVCRT_operator_new)(size_t);
|
||||
extern void (__cdecl *MSVCRT_operator_delete)(void*);
|
||||
|
||||
/* Copied from dlls/msvcrt/cpp.c */
|
||||
#ifdef __i386__ /* thiscall functions are i386-specific */
|
||||
|
|
|
@ -28,6 +28,8 @@
|
|||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(msvcp90);
|
||||
|
||||
void* (__cdecl *MSVCRT_operator_new)(size_t);
|
||||
void (__cdecl *MSVCRT_operator_delete)(void*);
|
||||
void init_cxx_funcs(void)
|
||||
{
|
||||
HMODULE hmod = GetModuleHandleA("msvcrt.dll");
|
||||
|
|
Loading…
Reference in New Issue