Skip to content

Commit

Permalink
AP_Common: fixed cygwin for non-SITL builds
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Sep 4, 2024
1 parent d802b0e commit 4daca86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_Common/c++.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4daca86

Please sign in to comment.