kolibrios-gitea/programs/emulator/dgen-sdl-1.33/cpp_dep.cpp
turbocat ea1a60faa3 Upload DGEN port source
git-svn-id: svn://kolibrios.org@9837 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-06-15 18:25:17 +00:00

22 lines
245 B
C++

#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);
}