SITL: fixed build under cygwin

This commit is contained in:
Andrew Tridgell 2017-11-18 21:23:15 +11:00
parent bd9fe3f087
commit 6e956bb0dc

View File

@ -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;