Mercurial > hg > octave-nkf > gnulib-hg
changeset 8195:a62b8c6b0bcb
Work around an ugly glibc hack.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 18 Feb 2007 20:55:53 +0000 |
parents | 2876b7cca374 |
children | 5166dec344af |
files | ChangeLog lib/stdlib_.h |
diffstat | 2 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-02-18 Bruno Haible <bruno@clisp.org> + + * lib/stdlib_.h: Handle glibc's special invocation convention + specially. + 2007-02-18 Bruno Haible <bruno@clisp.org> * modules/stdlib-tests: New file.
--- a/lib/stdlib_.h +++ b/lib/stdlib_.h @@ -16,6 +16,11 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#if defined __need_malloc_and_calloc +/* Special invocation convention inside glibc header files. */ +#include @ABSOLUTE_STDLIB_H@ +#else +/* Normal invocation convention. */ #ifndef _GL_STDLIB_H #define _GL_STDLIB_H @@ -83,4 +88,5 @@ } #endif +#endif /* _GL_STDLIB_H */ #endif