mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
AP_Common: no c++ magic for PX4 build
This commit is contained in:
parent
be00b2f681
commit
3a2e138994
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user