# HG changeset patch # User jwe # Date 1033149734 0 # Node ID 38a22328f192f226bb2636ce982f8cb320ceddb0 # Parent 3cc39e3b8fa5becb203b62038505c8d138c239ed [project @ 2002-09-27 18:02:14 by jwe] diff --git a/src/c-file-ptr-stream.h b/src/c-file-ptr-stream.h --- a/src/c-file-ptr-stream.h +++ b/src/c-file-ptr-stream.h @@ -31,7 +31,6 @@ #include #include -// // The c_file_ptr_buf requires a std::filebuf that accepts an open // file descriptor. This feature, while not part of the ISO C++ // standard, is supported by a variety of C++ compiler runtimes, @@ -45,8 +44,8 @@ // the GNU C++ runtime removes all non-standard std::filebuf constructors // and provides an extension template class __gnu_cxx::stdio_filebuf // that supports the the 3.0.x behavior. -// -#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1) + +#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1) && ! (defined (__APPLE__) && defined (__MACH__)) # include # define OCTAVE_STD_FILEBUF __gnu_cxx::stdio_filebuf #else