diff --git a/libraries/SITL/SIM_FlightAxis.cpp b/libraries/SITL/SIM_FlightAxis.cpp index 87fa87ff27..537d957b8f 100644 --- a/libraries/SITL/SIM_FlightAxis.cpp +++ b/libraries/SITL/SIM_FlightAxis.cpp @@ -90,7 +90,9 @@ void *FlightAxis::update_thread(void *arg) { FlightAxis *flightaxis = (FlightAxis *)arg; +#ifndef __CYGWIN__ pthread_setname_np(pthread_self(), "ardupilot-flightaxis"); +#endif flightaxis->update_loop(); return nullptr;