X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fio%2Fsg_file.cxx;h=67fbda3eb9547f107a768cfaf64791a228a94742;hb=e3d1fa268686f1d8b621241963665c2919a35aa2;hp=bbfc324707b4d132ec8344f1719df9bbf218900f;hpb=74d3bdc68cb86f734c9de11a5d179960384b22b7;p=simgear.git diff --git a/simgear/io/sg_file.cxx b/simgear/io/sg_file.cxx index bbfc3247..67fbda3e 100644 --- a/simgear/io/sg_file.cxx +++ b/simgear/io/sg_file.cxx @@ -25,7 +25,7 @@ #include -#if defined(_MSC_VER) || defined(__MINGW32__) +#ifdef _WIN32 # include #endif @@ -55,7 +55,7 @@ bool SGFile::open( const SGProtocolDir d ) { set_dir( d ); if ( get_dir() == SG_IO_OUT ) { -#if defined(_MSC_VER) || defined(__MINGW32__) +#ifdef _WIN32 int mode = 00666; #else mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH;