Revert "Add SIZE_MAX to <stdint.h> in a way that might actually work."
This reverts commit d8627af159
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:
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <sys/_types.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)
|
#if !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS)
|
||||||
# define __STDINT_LIMITS
|
# define __STDINT_LIMITS
|
||||||
|
Reference in New Issue
Block a user