New SDK for gcc-3 compilations

This commit is contained in:
David Anderson
2005-08-18 06:34:34 +00:00
parent 29bfd81b36
commit fa64bef511
6 changed files with 57 additions and 7 deletions

View File

@@ -1756,3 +1756,24 @@ void *Module_ReqFnptr(const char *funcName)
return NULL;
}
#ifndef MEMORY_TEST
void * ::operator new(size_t size) {
return(calloc(1, size));
}
void * ::operator new[](size_t size) {
return(calloc(1, size));
}
void ::operator delete(void * ptr) {
if(ptr)
free(ptr);
}
void ::operator delete[](void * ptr) {
if(ptr)
free(ptr);
}
#endif