Revert "Add SIZE_MAX to <stdint.h> in a way that might actually work."

This reverts commit d8627af159c6b1bc40296fb29297c61b30a5a8e2 which caused build breakage:

In file included from bionic/libc/include/limits.h:86:0,
                 from bionic/libc/include/stdint.h:33,
                 from bionic/libc/arch-arm/bionic/crtbegin.c:31:
bionic/libc/include/sys/limits.h:30:26: fatal error: linux/limits.h: No such file or directory
compilation terminated.
make: *** [out/target/product/generic/obj/lib/crtbegin_dynamic1.o] Error 1

Change-Id: I128095ecb99df92626e1f57e34c61e08c98a4078
This commit is contained in:
Elliott Hughes 2013-06-12 22:18:47 +00:00
parent d8627af159
commit 9248d3a58c

View File

@ -30,7 +30,7 @@
#include <stddef.h>
#include <sys/_types.h>
#include <limits.h> /* For SIZE_MAX. */
#include <machine/limits.h> /* For SIZE_MAX. */
#if !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS)
# define __STDINT_LIMITS