//
// $Id$
+// TODO FIXME Module still contains lots of "static SGPropertyNode"s below.
#ifdef HAVE_CONFIG_H
# include <config.h>
# include <sys/types.h>
# include <sys/stat.h>
# include <fcntl.h>
+# include <stdlib.h>
# include <unistd.h>
# include <ostream>
#endif
#include <math.h>
#include <string>
+#include <cstdio>
#include <simgear/debug/logstream.hxx>
#include <simgear/misc/sg_path.hxx>
}
+#ifdef ATCFLIGHTSIM_HAVE_COMPASS
// Read status of last stepper written to
static unsigned char ATCReadStepper( int fd ) {
#if defined( unix ) || defined( __CYGWIN__ )
return 0;
#endif
}
+#endif
// Turn a lamp on or off
ATCRelease( lock_fd );
-#if defined( _MSC_VER )
- ulMilliSecondSleep(33);
-#elif defined (WIN32) && !defined(__CYGWIN__)
+#ifdef _WIN32
Sleep (33);
#else
usleep(33);