Files
bionic/libc/include
David 'Digit' Turner 08ff1a6474 libc: <stdint.h>: Proper C++
This patch prevents the definition of various macros when <stdint.h> is
included from C++. The ISO C99 standard mentions that when this header
is included from a C++ source file, limit and constant related macros
should only be defined when asked explicitely by defining
__STDC_LIMIT_MACROS and __STD_CONSTANT_MACROS, respectively.

The <stdint.h> lacked the proper #ifdef .. #endif blocks for the
following macros:

    INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX, PTRDIFF_MIN, PTRDIFF_MAX
    INTMAX_MIN, INTMAX_MAX, UINTMAX_MAX,
    INPTR_C, UINTPR_C, PTRDIFF_C, INTMAX_C, UINTMAX_C

This is intended to fix http://code.google.com/p/android/issues/detail?id=14380
after we copy this file to development/ndk/platforms/android-3/include/

Change-Id: Ia77e0822edfaaf568ea599d7de673b310eeeaa4a
2011-03-10 18:02:01 +01:00
..
2010-12-06 12:05:11 +01:00
2010-03-17 16:11:37 -05:00
2009-03-03 19:28:35 -08:00
2010-01-15 15:57:02 -08:00
2010-01-15 15:57:02 -08:00
2009-03-03 19:28:35 -08:00
2010-01-15 15:57:02 -08:00
2010-02-12 11:37:25 -08:00
2011-03-10 10:23:44 +01:00
2009-03-03 19:28:35 -08:00
2010-01-15 15:01:44 -08:00
2010-12-20 15:58:06 +01:00
2011-03-10 18:02:01 +01:00
2010-11-30 12:45:02 -08:00
2010-06-11 14:39:39 -07:00