AP_Common: no c++ magic for PX4 build

This commit is contained in:
Andrew Tridgell 2012-10-27 22:41:03 +11:00
parent be00b2f681
commit 3a2e138994

View File

@ -9,6 +9,8 @@
#include <stdlib.h>
#ifndef PX4FMU_BUILD
void * operator new(size_t size)
{
return(calloc(size, 1));
@ -47,3 +49,5 @@ void __cxa_guard_release (__guard *g){
void __cxa_guard_abort (__guard *) {
};
#endif // PX4FMU_BUILD