Browse Source

AP_Common: no c++ magic for PX4 build

master
Andrew Tridgell 12 years ago
parent
commit
3a2e138994
  1. 4
      libraries/AP_Common/c++.cpp

4
libraries/AP_Common/c++.cpp

@ -9,6 +9,8 @@ @@ -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){ @@ -47,3 +49,5 @@ void __cxa_guard_release (__guard *g){
void __cxa_guard_abort (__guard *) {
};
#endif // PX4FMU_BUILD

Loading…
Cancel
Save