Mercurial > hg > octave-nkf
changeset 4073:38a22328f192
[project @ 2002-09-27 18:02:14 by jwe]
author | jwe |
---|---|
date | Fri, 27 Sep 2002 18:02:14 +0000 |
parents | 3cc39e3b8fa5 |
children | a67f76924703 |
files | src/c-file-ptr-stream.h |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/c-file-ptr-stream.h +++ b/src/c-file-ptr-stream.h @@ -31,7 +31,6 @@ #include <fstream> #include <cstdio> -// // 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 <ext/stdio_filebuf.h> # define OCTAVE_STD_FILEBUF __gnu_cxx::stdio_filebuf<char> #else