stdint: fix build with Android's Bionic fox x86
authorAndoni Morales Alastruey <ylatuya@gmail.com>
Tue, 15 Jan 2013 10:41:52 +0000 (11:41 +0100)
committerEric Blake <eblake@redhat.com>
Tue, 15 Jan 2013 15:26:03 +0000 (08:26 -0700)
* 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>
ChangeLog
lib/stdint.in.h

index 7cb6f97..79defc9 100644 (file)
--- 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
index e1108c5..1896015 100644 (file)
@@ -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