kolibrios/programs/emulator/dgen-sdl-1.33/cpp_dep.cpp

22 lines
245 B
C++
Raw Normal View History

#include <stdlib.h>
void * operator new(size_t n)
{
return malloc(n);
}
void * operator new[](size_t n)
{
return malloc(n);
}
void operator delete(void * ptr)
{
free(ptr);
}
void operator delete[](void * ptr)
{
free(ptr);
}