History log of /development/ndk/platforms/android-3/include/stdint.h
Revision Date Author Comments
9983b467e539d40388880739fcf8a8becd459b26 10-Jun-2014 Andrew Hsieh <andrewhsieh@google.com> Fix ssize_t, WCHAR_MIN and WCHAR_MAX

1) ssize_t is int, instead of long int
2) WCHAR_MIN and WCHAR_MAX be consistent with bionic's:
respond to __WCHAR_UNSIGNED__, work for both signed (X86/MIPS)
and unsigned (ARM) wchar_t, and work for -fshort-wchar too

Change-Id: Ief1be007571b50c5d63a819df489f9d3f9b47bc8
154e19fda6a3ec10c050069b3320b79be247759b 11-May-2014 Andrew Hsieh <andrewhsieh@google.com> Restore stdint.h for android-3..19 to the original headers

$NDK/tests/standalone/run.sh fail to run with last update on stdint.h
to android-20 level. Restore stdint.h for fear of the new one breaking
the existing apps

Also fix signal_portable.h to use SIGRTMIN/MAX in old headers
(which got renamed to __SIGRTMIN in new header)

Also change _JBLEN to 1024 which shall be large enough to store CPU
states for forseable future.

Change-Id: Ia9c03558a258c10434eb8e6985adc122532feaa3
e54e92427d027d3ed08f5cf5da95b411c0e22774 20-Mar-2014 Pavel Chupin <pavel.v.chupin@intel.com> Headers update from bionic for x86_64 support

* Add i386/elf_machdep.h, it is used during the build of 32-bit part of
multilib compiler;
* Remove page.h. See https://android-review.googlesource.com/#/c/83299;
* Update other x86 headers from bionic for compatibility which are
required for successful build;

Change-Id: Ia66301849e699b79c657146424a806d0aa22342b
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
09073f3d88137701492f285065c9f5e6b55a9fad 02-Aug-2013 Andrew Hsieh <andrewhsieh@google.com> Add minimal supports to build multilib x86 toolchain with OpenMP

Change-Id: I095c15d2a2de11992890c2a03be0f90332d372de
fe8625d401c57e62b309fe300d25b1ccb9aeea92 18-Jul-2013 David 'Digit' Turner <digit@android.com> ndk: Fix WCHAR_MIN / WCHAR_MAX definitions.

This fixes WCHAR_MIN / WCHAR_MAX to be signed / unsigned based on
the target ABI.

This only impacts ARM where wchar_t is really 'unsigned int'.
One can define _WCHAR_IS_ALWAYS_SIGNED to restore the old behaviour.

See http://b.android.com/55749

Change-Id: Idb63b7b11aecd3cfee37f5b6dd2eba78b308876f
e3b1ac14bdd0ec3340d7274017692268a4f61df0 26-Nov-2012 Sergey Melnikov <sergey.melnikov@intel.com> stdint.h header is not fully compatible with C99(ISO9899:1999)

1. stdint.h doesn't provide macros:
* SIG_ATOMIC_MIN
* SIG_ATOMIC_MAX
* WCHAR_MIN
* WCHAR_MAX
* WINT_MIN
* WINT_MAX
2. stdint.h provides macros with incorrect type:
* UINT8_C
* UINT16_C
* UINT8_MAX
* UINT16_MAX

Change-Id: I3f4da907eaee8f46d8eb956950230ca2eb04a3ea
Signed-off-by: Sergey Melnikov <sergey.melnikov@intel.com>
7980acf254e97c3c226bc633a7bb3910b7d296d1 20-Dec-2012 Andrew Hsieh <andrewhsieh@google.com> Remove duplicated definitions of size_t and ssize_t

See 3975cec694a0c9b42e3f7e671fcd678da92836c3

Change-Id: Ia40ff8de3ffe923fb983bb116b740942724c641a
61a3e1462c5ed9c1a7bf6075b70af7ff7b8df2ee 18-Aug-2012 Andrew Hsieh <andrewhsieh@google.com> Update stdint.h; Refresh <arch>/include/machine/*
stdint.h: https://android-review.googlesource.com/#/c/41714/
https://android-review.googlesource.com/#/c/40576/
<arch>/include/machine/*: to be consistent with
bionic/libc/<arch>/include/machine/*

Change-Id: Ieeb44c3e864bf64c4cad4d3c9d94024a7b520181
c7d8870875c093a88503cd18ade581e992f97975 11-Mar-2011 David 'Digit' Turner <digit@android.com> ndk: Fix stdint.h definitions for C++

Fix the stdint.h header for C++ inclusion. The limit and constant related macros
should only be defined if __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS are
defined, respectively.

Change-Id: I85b00ed857f40b9c17d530f1405f0f098c5f10f3
7012117d4ae7e9ca9e50812f55757411aa8f93a0 22-Sep-2010 David 'Digit' Turner <digit@google.com> Unify NDK platform headers.

This commit removes duplication of system headers per platform, i.e. remove
copies of common headers like <stdlib.h> from arch-arm/usr/include and arch-x86/usr/include
and move them to a common include directory. More specifically:

- common headers: android-N/arch-A/usr/include --> android-N/include
- arch-specific headers: android-N/arch-A/usr-include --> android-N/arch-A/include
- arch-specific libs: android-N/arch-A/usr/lib --> android-N/arch-A/lib

Change-Id: Ifdba5038d108901931f3e3a7c14ebe6270d2d276

NOTE: This also contains careful separation of API-level-specific headers.
For example, platforms/android-5/include/pthread.h contains new function
declarations that are not available when using platforms/android-3/include/pthread.h

NOTE: The NDK's build-platforms.sh script has been updated to understand the new
layout. This change in develeopment/ndk does not change the layout of
platform files under $NDK/platforms after build-platforms.sh is called.