Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (15 sloc) 423 Bytes
// The absolute minimum to compile without any CRT libraries present
#define WINVER 0x0601 // Support Win7 or later
#include <Windows.h>
void * __cdecl operator new(size_t s)
{
return HeapAlloc(GetProcessHeap(), 0, s);
}
void __cdecl operator delete(void * p)
{
HeapFree(GetProcessHeap(), 0, p);
}
void __cdecl operator delete(void* const block, size_t const) noexcept
{
operator delete(block);
}
You can’t perform that action at this time.