forked from KolibriOS/kolibrios
ea1a60faa3
git-svn-id: svn://kolibrios.org@9837 a494cfbc-eb01-0410-851d-a64ba20cac60
22 lines
245 B
C++
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);
|
|
}
|