grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / libs / mesa / src / aros / emul_cpp.cpp
blob63220546c34ad51db1f53d2ed800035a68e8c193
1 /*
2 Copyright 2010, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <proto/exec.h>
7 #include <stdlib.h>
9 void * operator new(size_t size)
11 return AllocVec(size, MEMF_PUBLIC | MEMF_CLEAR);
14 void operator delete(void * ptr)
16 FreeVec(ptr);
19 void * operator new[](size_t size)
21 return AllocVec(size, MEMF_PUBLIC | MEMF_CLEAR);
24 void operator delete[](void * ptr)
26 FreeVec(ptr);
29 extern "C" void __cxa_pure_virtual()