#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h> //snprintf
-#if defined( _MSC_VER ) || defined(__MINGW32__)
+#ifdef _WIN32
# include <io.h> //lseek, read, write
#endif
atcsim_config.append( ".fgfs-atc610x.xml" );
try {
SG_LOG(SG_GENERAL, SG_ALERT,
- "Warning: loading depricated config file: " <<
+ "Warning: loading deprecated config file: " <<
atcsim_config.str() );
readProperties( atcsim_config.str(), globals->get_props() );
} catch (const sg_exception &e) {