X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fmisc%2Fzfstream.cxx;h=d470ec35e525251de29cd0af562189a10edc48f3;hb=5bab565cfe4c30d6cf08ecaba50af74d5e4f0c98;hp=7abfa4337ecd3a4aa30b359d79f9215277de88ad;hpb=95e5e907910849269f918b758f37f569e2c7567b;p=simgear.git diff --git a/simgear/misc/zfstream.cxx b/simgear/misc/zfstream.cxx index 7abfa433..d470ec35 100644 --- a/simgear/misc/zfstream.cxx +++ b/simgear/misc/zfstream.cxx @@ -24,7 +24,7 @@ #include -#ifdef FG_HAVE_STD_INCLUDES +#ifdef SG_HAVE_STD_INCLUDES # include #else # include @@ -41,7 +41,7 @@ gzfilebuf::gzfilebuf() : streambuf(), file(NULL), -#if defined( __MWERKS__ ) +#if defined( __MWERKS__ ) || __GNUC__ > 2 mode(ios_openmode(0)), #else mode(0),