mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
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);
|
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
|
wrapper around malloc to ensure all memory is initialised as zero
|
||||||
cygwin needs to wrap _malloc_r
|
cygwin needs to wrap _malloc_r
|
||||||
|
Loading…
Reference in New Issue
Block a user