History log of /system/core/include/arch/linux-arm/AndroidConfig.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4a6b384f607feed3755cfcbcdfded55fc2ccce82 19-Mar-2012 Jeff Brown <jeffbrown@google.com> Provide portable wrapper for qsort_r.

qsort_r() is declared differently on BSD and GNU libc and
may be absent on other platforms.

Provide qsort_r_compat() which should work everywhere.

Change-Id: I17a9026573b1ed971ff7d79895e7eb41ba108807
/system/core/include/arch/linux-arm/AndroidConfig.h
3817a79ded01ee03922fa2f89b2feea9ba65a703 03-Mar-2012 Jeff Brown <jeffbrown@google.com> Use #define value of 1 to indicate presence of headers.

strace tests the value of HAVE_TERMIO_H and HAVE_SYS_UIO_H using

Change-Id: If899845503547410cf17d005733d1c0c6741e939
/system/core/include/arch/linux-arm/AndroidConfig.h
e66293900bc8e69fc3359e0c75c6c5473861ab49 20-Jan-2012 Jeff Brown <jeffbrown@google.com> Set HAVE_LOCALTIME_R to 1 when defined.

SQLite 3.7.10 tests the value of the HAVE_LOCALTIME_R macro
if it is defined, so we set it to 1.

Change-Id: I8c34ec362813018f86aea57d1b36b7639d0dd96d
/system/core/include/arch/linux-arm/AndroidConfig.h
918638c775ebd115084a42deb68bf518918f6640 28-Sep-2011 Mathias Agopian <mathias@google.com> enable HAVE_DLADDR, since... we have it

Change-Id: I02baa1f7d3383e93a43fa04de1d39f7398e971bc
/system/core/include/arch/linux-arm/AndroidConfig.h
1e47832909606ae3cbd0169ec48956b5c8fdea4f 03-Mar-2011 Raphael <raphael@google.com> Revert "Define O_BINARY for non-Windows platforms."

This reverts commit bd70e4aca5680acb7d5da5500b7e8c618fb499f2.
/system/core/include/arch/linux-arm/AndroidConfig.h
e24624da7d29374ad59d20312ca0e0ea2ea5596b 02-Mar-2011 Raphael Moll <ralf@android.com> am 733e4701: am fa5f2ad4: am bd8f4a85: Merge "Define O_BINARY for non-Windows platforms."

* commit '733e47011023787cf996b1b4f232453b2324e303':
Define O_BINARY for non-Windows platforms.
bd70e4aca5680acb7d5da5500b7e8c618fb499f2 16-Feb-2011 Raphael Moll <ralf@android.com> Define O_BINARY for non-Windows platforms.

All tools (aapt, aidl, dexdump, etc.) need this flag to open()
binary files, or they risk reading corrupted data on Windows.

A bunch of these tools just conditionaly define O_BINARY in
their C files. Seems it would just make sense to define it globally.

Change-Id: Ia5c0a59e9e77bbdcbce235233555f611207abed8
/system/core/include/arch/linux-arm/AndroidConfig.h
cfb61c272075e0fc25c39110b105825c128ac91f 08-Dec-2010 Kenny Root <kroot@google.com> Cygwin needs HAVE_OFF64_T and fix description

During testing of compilation, it was discovered that Cygwin actually
has off64_t.

Also the description was wrong for HAVE_OFF64_T

Change-Id: I6eb73d13da5a53fb03bf99ab7de82bfb6acab058
/system/core/include/arch/linux-arm/AndroidConfig.h
07ad9961aee0cfcae89e23d47f47314e1d3629c1 07-Dec-2010 Kenny Root <kroot@google.com> Add HAVE_OFF64_T to AndroidConfig.h

For platforms that have _FILE_OFFSET_BITS=32 and need to access large
files, we need some way to access 64-bit file APIs. This adds a hint to
allow programs to choose alternate APIs if possible.

Change-Id: Ifdc204df269350a22f52c0e4221e9d7d3b7a57fe
/system/core/include/arch/linux-arm/AndroidConfig.h
dc8827ee2388687a6f08a0c2da8505cdace737a6 16-Oct-2010 Raphael Moll <raphael@google.com> am 7e65ede6: am 9cd8057b: Merge "Define HAVE_STAT_ST_MTIM and disable it under MinGW/Cygwin." into gingerbread

Merge commit '7e65ede62065925e29b5b18f253758bb280f9383'

* commit '7e65ede62065925e29b5b18f253758bb280f9383':
Define HAVE_STAT_ST_MTIM and disable it under MinGW/Cygwin.
bb8ebabfd47805e0d72273e91492f215a9994c00 14-Oct-2010 Raphael Moll <raphael@google.com> Define HAVE_STAT_ST_MTIM and disable it under MinGW/Cygwin.

This is used by build\libs\host\CopyFile.c

Also define HAVE_PRINTF_ZD since printf %zd is not
supported on MinGW/Cygwin.
This is used by frmk/base/libs/utils/ZipFileRO.cpp

Change-Id: I570ac5dd0a5b256ee67ad62433f1226597da3ea4
/system/core/include/arch/linux-arm/AndroidConfig.h
6be460d5b0b60aca4e8d649e2254f8a8920f4d98 04-Oct-2010 Kenny Root <kroot@google.com> Add HAVE_PREAD definition to platforms

ZipFileRO uses pread() to guarantee atomic reads at an offset, so use
the HAVE_PREAD flag to trigger off of. The only platform that doesn't
implement it directly is Windows.

Change-Id: Ic927611dc45b75ff8f672ed59afee5be1ad07ab4
/system/core/include/arch/linux-arm/AndroidConfig.h
8adcde9534b56d18bfe45622117c91b20aa587b1 04-Oct-2010 Kenny Root <kroot@google.com> Add HAVE_PREAD definition to platforms

ZipFileRO uses pread() to guarantee atomic reads at an offset, so use
the HAVE_PREAD flag to trigger off of. The only platform that doesn't
implement it directly is Windows.

Change-Id: I52d4e61010bb97e2d50af09943a2e94c0417bb5f
/system/core/include/arch/linux-arm/AndroidConfig.h
7ae24be753f5d4a2fc00e1c408a6aca5edd17acb 01-Jul-2010 Andy McFadden <fadden@android.com> am 635dc574: am 57dbb2cb: Merge "Add a HAVE define for pthread_setname_np()." into gingerbread

Merge commit '635dc574e9009f38b34b2e84b6c1a2b5efd2ebc9'

* commit '635dc574e9009f38b34b2e84b6c1a2b5efd2ebc9':
Add a HAVE define for pthread_setname_np().
8e9d5c972e3eda8d1b7b9a62cd6e8a324286cfe9 30-Jun-2010 Andy McFadden <fadden@android.com> Add a HAVE define for pthread_setname_np().

Due to conflicts with recent WebKit, we need to call it
HAVE_ANDROID_PTHREAD_SETNAME_NP.

https://review.source.android.com/#change,15227 has the original
change, which was reverted after the conflict was found.

Change-Id: I7111960a16505558338756dba91eb50cadb582ff
/system/core/include/arch/linux-arm/AndroidConfig.h
165db2a19888673548a1a7bd1ffd39e89a8dfe78 18-May-2010 Jing Yu <jingyu@google.com> Don't define __linux__ if it is already defined by the toolchain.
This change does not affect existing behavior at all and makes
the file compatible with new toolchain.

Change-Id: Ia33bb9372d1705ec538b414bf69773f093e4543c
/system/core/include/arch/linux-arm/AndroidConfig.h
cf63d5d00f5a631a2905da7812b5c029b5211cf6 23-Jan-2010 Andy McFadden <fadden@android.com> Implementation of open_memstream().

POSIX seems to have chosen open_memstream() over the BSD variant. We
want something for Dalvik that will work on both GNU/Linux and Android,
so this is open_memstream() implemented in terms of BSD funopen().

For Windows there's just a stub that calls abort().

I'm putting this in libcutils since it seems inappropriate for bionic
(which provides the BSD alternatives) but isn't Dalvik-specific.
/system/core/include/arch/linux-arm/AndroidConfig.h
43ba23f30889f9e4dee0afd762f2f9a1cd5a99a8 31-Oct-2009 Dan Bornstein <danfuzz@android.com> Define HAVE_SYS_SENDFILE_H.

Platforms differ on whether sys/sendfile.h or sys/socket.h is where to
find the declaration for sendfile().

Change-Id: Ib6e882534b7dc605d30aefed55732dc1ee2b6772
/system/core/include/arch/linux-arm/AndroidConfig.h
0384a98d6f61fa47ffde01c15e552f738e88fb94 16-Sep-2009 Raphael <raphael@google.com> Disable sched_policy under Windows.

This introduces a new HAVE_SCHED_H arch define, which is used
to prevent from building sched_policy.c during the Windows SDK.

Change-Id: I3667857a4ae7d6baaf1efd1cd187a5baf91419d8
/system/core/include/arch/linux-arm/AndroidConfig.h
656a8162983ee8165f4bbcb6c76d8560a7957c35 05-Aug-2009 Andy McFadden <fadden@android.com> Added defines for <stdint.h> and <stdbool.h>.

This adds HAVE_STDINT_H and HAVE_STDBOOL_H to the configuration. We've
been using HAVE_STDINT_H for a while but just never bothered to define
it, and we're about to start using HAVE_STDBOOL_H.

I enabled them for the linux and darwin targets, and left it undefined
for freebsd/windows.
/system/core/include/arch/linux-arm/AndroidConfig.h
dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/system/core/include/arch/linux-arm/AndroidConfig.h
e54eebbf1a908d65ee8cf80bab62821c05666d70 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/system/core/include/arch/linux-arm/AndroidConfig.h
5ae090ed949cea9d1e7ab1552b455a229f8f9757 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@125939
/system/core/include/arch/linux-arm/AndroidConfig.h
35237d135807af84bf9b0e5b8d7f8633e58db6f5 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/system/core/include/arch/linux-arm/AndroidConfig.h
4f6e8d7a00cbeda1e70cc15be9c4af1018bdad53 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/system/core/include/arch/linux-arm/AndroidConfig.h