Mercurial > hg > octave-lojdl > gnulib-hg
changeset 6836:e2c19cb657e7
Tweak for FreeBSD.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 17 Jun 2006 20:02:16 +0000 |
parents | d238fb8227ce |
children | 02c971653322 |
files | lib/ChangeLog lib/stdint_.h m4/ChangeLog m4/stdint.m4 |
diffstat | 4 files changed, 11 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2006-06-17 Bruno Haible <bruno@clisp.org> + + * stdint_.h [FreeBSD >= 5]: Don't include <sys/inttypes.h>. + 2006-06-17 Bruno Haible <bruno@clisp.org> * stdint_.h (_UINT8_T, _UINT32_T, _UINT64_T): New macros. Fixes a
--- a/lib/stdint_.h +++ b/lib/stdint_.h @@ -30,7 +30,7 @@ #include <limits.h> /* Get those types that are already defined in other system include files. */ -#if defined(__FreeBSD__) +#if defined(__FreeBSD__) && (__FreeBSD__ >= 3) && (__FreeBSD__ <= 4) # include <sys/inttypes.h> #endif #if defined(__OpenBSD__)
--- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,8 @@ +2006-06-17 Bruno Haible <bruno@clisp.org> + + * stdint.m4 (gl_STDINT_H) [FreeBSD >= 5]: Don't include + <sys/inttypes.h>. + 2006-06-16 Eric Blake <ebb9@byu.net> * rmdir-errno.m4 (gl_FUNC_FMDIR_NOTEMPTY): Assume errno.h declares
--- a/m4/stdint.m4 +++ b/m4/stdint.m4 @@ -87,7 +87,7 @@ dnl created in the build directory. other_includes=' /* Get those types that are already defined in other system include files. */ -#if defined(__FreeBSD__) +#if defined(__FreeBSD__) && (__FreeBSD__ >= 3) && (__FreeBSD__ <= 4) # include <sys/inttypes.h> #endif #if defined(__OpenBSD__)