Mercurial > hg > octave-nkf
diff src/load-save.cc @ 10309:cd925a5a82df
another #undef for gnulib
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 11 Feb 2010 11:04:47 -0500 |
parents | d6cdf08d0424 |
children | 57a59eae83cc |
line wrap: on
line diff
--- a/src/load-save.cc +++ b/src/load-save.cc @@ -80,13 +80,16 @@ #include "ls-oct-ascii.h" #include "ls-oct-binary.h" -#ifdef HAVE_ZLIB -#include "zfstream.h" +// Remove gnulib definitions, if any. +#ifdef close +#undef close +#endif +#ifdef open +#undef open #endif -// Remove gnulib definition, if any. -#ifdef close -#undef close +#ifdef HAVE_ZLIB +#include "zfstream.h" #endif // Write octave-core file if Octave crashes or is killed by a signal.