]> git.mxchange.org Git - flightgear.git/blobdiff - src/Network/ATC-Main.cxx
Merge branch 'durk/atcdcl-cond'
[flightgear.git] / src / Network / ATC-Main.cxx
index ed5ac8d9878de4a6cb1e47c3ee7cd2e1b7f78437..b70b4abf36eb584ce1d6ffd726a8d093000c1f64 100644 (file)
@@ -32,7 +32,7 @@
 #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
 
@@ -97,7 +97,7 @@ void FGATCMain::init_config() {
         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) {