X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FNetwork%2FATC-Outputs.cxx;h=dd9e32cdd936ffee6ebf05ed1046cf30bedcb020;hb=efcc89480db17c181262aca1d6001ba9d92f0867;hp=480ad7143b68b41d05340652627db97392a087ad;hpb=cd89ce7d0a0d8eb1c700ac305f10d583f250daec;p=flightgear.git diff --git a/src/Network/ATC-Outputs.cxx b/src/Network/ATC-Outputs.cxx index 480ad7143..dd9e32cdd 100644 --- a/src/Network/ATC-Outputs.cxx +++ b/src/Network/ATC-Outputs.cxx @@ -20,6 +20,7 @@ // // $Id$ +// TODO FIXME Module still contains lots of "static SGPropertyNode"s below. #ifdef HAVE_CONFIG_H # include @@ -31,6 +32,7 @@ # include # include # include +# include # include # include #endif @@ -39,6 +41,7 @@ #include #include +#include #include #include @@ -348,9 +351,7 @@ bool FGATCOutput::open( int lock_fd ) { ATCRelease( lock_fd ); -#if defined( _MSC_VER ) - ulMilliSecondSleep(33); -#elif defined (WIN32) && !defined(__CYGWIN__) +#ifdef _WIN32 Sleep (33); #else usleep(33);