Mercurial > hg > octave-terminal
changeset 4291:0a87097e74ca
[project @ 2003-01-05 06:35:08 by jwe]
author | jwe |
---|---|
date | Sun, 05 Jan 2003 06:35:08 +0000 |
parents | 73431774c0b7 |
children | c8f6dd25219d |
files | kpathsea/ChangeLog kpathsea/db.c |
diffstat | 2 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/kpathsea/ChangeLog +++ b/kpathsea/ChangeLog @@ -1,3 +1,7 @@ +2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> + + * db.c: Define _GNU_SOURCE. + 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> * Makefile.in ($(kpathsea)): Build object files only.
--- a/kpathsea/db.c +++ b/kpathsea/db.c @@ -16,6 +16,13 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* This gives us a better chance of finding a prototype for basename + on some systems. */ + +#if ! defined (_GNU_SOURCE) +#define _GNU_SOURCE +#endif + #include <kpathsea/config.h> #include <kpathsea/absolute.h> #include <kpathsea/c-fopen.h>