Mercurial > hg > octave-lojdl
changeset 8022:9708674ab85d
don't include config.h in other header files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 07 Aug 2008 15:31:49 -0400 |
parents | 85184151822e |
children | 0ff67bd96f8d |
files | liboctave/ChangeLog liboctave/oct-sparse.h liboctave/sparse-base-chol.h src/ChangeLog src/gl-render.h src/zfstream.h |
diffstat | 6 files changed, 4 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,5 +1,7 @@ 2008-08-07 John W. Eaton <jwe@octave.org> + * sprse-base-chol.h, oct-sparse.h: Don't include config.h. + * cmd-edit.cc, file-ops.h, kpse.cc, oct-env.cc, pathsearch.cc: Replace all uses of NPOS with std::string::npos.
--- a/liboctave/oct-sparse.h +++ b/liboctave/oct-sparse.h @@ -23,10 +23,6 @@ #if !defined (oct_sparse_h) #define oct_sparse_h 1 -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #if defined (HAVE_SUITESPARSE_AMD_H) #include <suitesparse/amd.h> #elif defined (HAVE_UFSPARSE_AMD_H)
--- a/liboctave/sparse-base-chol.h +++ b/liboctave/sparse-base-chol.h @@ -24,10 +24,6 @@ #if !defined (octave_sparse_base_chol_h) #define octave_sparse_base_chol_h 1 -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include "oct-sparse.h" #include "dColVector.h"
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2008-08-07 John W. Eaton <jwe@octave.org> + * src/glrender.h, src/zfstream.h: Don't include config.h. + * oct-errno.h: Include <cerrno>. * Cell.cc, DLD-FUNCTIONS/regexp.cc, DLD-FUNCTIONS/dlmread.cc,