mirror of https://github.com/ArduPilot/ardupilot
AP_Common: fixed cygwin for non-SITL builds
This commit is contained in:
parent
d802b0ec9a
commit
4daca86ba1
|
@ -84,7 +84,7 @@ void operator delete[](void * ptr)
|
|||
if (ptr) free(ptr);
|
||||
}
|
||||
|
||||
#ifdef CYGWIN_BUILD
|
||||
#if defined(CYGWIN_BUILD) && CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||
/*
|
||||
wrapper around malloc to ensure all memory is initialised as zero
|
||||
cygwin needs to wrap _malloc_r
|
||||
|
|
Loading…
Reference in New Issue