Mercurial > hg > octave-lyh > gnulib-hg
changeset 17287:7e79b824e229
stdint: fix build with Android's Bionic fox x86
* lib/stdint.in.h: fix check to test if included-fixed/sys/types.h
was already included as _SSIZE_T_DEFINED_ might also be defined
in include/machine/_types.h, which is included by stdio.h
Signed-off-by: Eric Blake <eblake@redhat.com>
author | Andoni Morales Alastruey <ylatuya@gmail.com> |
---|---|
date | Tue, 15 Jan 2013 11:41:52 +0100 |
parents | e8b5dfc96156 |
children | e1bf1347de53 |
files | ChangeLog lib/stdint.in.h |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2013-01-15 Andoni Morales Alastruey <ylatuya@gmail.com> (tiny change) + + stdint: fix build with Android's Bionic fox x86 + * lib/stdint.in.h: fix check to test if included-fixed/sys/types.h + was already included as _SSIZE_T_DEFINED_ might also be defined + in include/machine/_types.h, which is included by stdio.h + 2013-01-13 Paul Eggert <eggert@cs.ucla.edu> net_if-tests: port to Solaris 7 + GCC 3.4.6
--- a/lib/stdint.in.h +++ b/lib/stdint.in.h @@ -39,7 +39,7 @@ Ideally we should test __BIONIC__ here, but it is only defined after <sys/cdefs.h> has been included; hence test __ANDROID__ instead. */ #if defined __ANDROID__ \ - && defined _SYS_TYPES_H_ && !defined _SSIZE_T_DEFINED_ + && defined _SYS_TYPES_H_ && !defined __need_size_t # @INCLUDE_NEXT@ @NEXT_STDINT_H@ #else