Browse Source

AP_Common: no c++ magic for PX4 build

mission-4.1.18
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 @@
#include <stdlib.h> #include <stdlib.h>
#ifndef PX4FMU_BUILD
void * operator new(size_t size) void * operator new(size_t size)
{ {
return(calloc(size, 1)); return(calloc(size, 1));
@ -47,3 +49,5 @@ void __cxa_guard_release (__guard *g){
void __cxa_guard_abort (__guard *) { void __cxa_guard_abort (__guard *) {
}; };
#endif // PX4FMU_BUILD

Loading…
Cancel
Save