]> git.mxchange.org Git - simgear.git/blobdiff - simgear/misc/zfstream.cxx
Updates to build system to better support automake-1.5
[simgear.git] / simgear / misc / zfstream.cxx
index 7abfa4337ecd3a4aa30b359d79f9215277de88ad..d470ec35e525251de29cd0af562189a10edc48f3 100644 (file)
@@ -24,7 +24,7 @@
 
 #include <simgear/compiler.h>
 
-#ifdef FG_HAVE_STD_INCLUDES
+#ifdef SG_HAVE_STD_INCLUDES
 # include <cerrno>
 #else
 # include <errno.h>
@@ -41,7 +41,7 @@
 gzfilebuf::gzfilebuf()
     : streambuf(),
       file(NULL),
-#if defined( __MWERKS__ )
+#if defined( __MWERKS__ ) || __GNUC__ > 2
       mode(ios_openmode(0)),
 #else
       mode(0),