History log of /system/core/include/arch/target_linux-x86/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/target_linux-x86/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/target_linux-x86/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/target_linux-x86/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/target_linux-x86/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/target_linux-x86/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/target_linux-x86/AndroidConfig.h
7e65ede62065925e29b5b18f253758bb280f9383 14-Oct-2010 Raphael Moll <raphael@google.com> am 9cd8057b: Merge "Define HAVE_STAT_ST_MTIM and disable it under MinGW/Cygwin." into gingerbread

Merge commit '9cd8057b6e8f5fc1254a4ed19e8127b5091b5dce' into gingerbread-plus-aosp

* commit '9cd8057b6e8f5fc1254a4ed19e8127b5091b5dce':
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/target_linux-x86/AndroidConfig.h
d9387cfc95ec773359bd52b08a52d02624e6265f 05-Oct-2010 Kenny Root <kroot@google.com> am 6be460d5: Add HAVE_PREAD definition to platforms

Merge commit '6be460d5b0b60aca4e8d649e2254f8a8920f4d98' into gingerbread-plus-aosp

* commit '6be460d5b0b60aca4e8d649e2254f8a8920f4d98':
Add HAVE_PREAD definition to platforms
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/target_linux-x86/AndroidConfig.h
0796f618775b34e14ff624bcfca828d55183b4c5 02-Jul-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: I1be135f087795bf1789dbf911c585a606bf25778
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/target_linux-x86/AndroidConfig.h
e94df975ff0d5ff23df5fb7b9102b5cfdd78641b 24-Jun-2010 Bruce Beare <brucex.j.beare@intel.com> DBUS is not fully implemented. Disable it for now

Change-Id: I2286064bffc7e9fa7381aa04d5d20abf11c3aab7
Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
/system/core/include/arch/target_linux-x86/AndroidConfig.h
ec219a2ee73dba139e31105f8f57ee5ffbaaa432 23-Jun-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: I01315984e45ecc0261ea35b5370cbe624cc90cea
d05d26893de34fd8407f40406a3c57cc08699d2c 23-Jun-2010 Jean-Baptiste Queru <jbq@google.com> Revert "AndroidConfig: define HAVE_PTHREAD_SETNAME_NP"

This reverts commit de50fc1a87447b5e9c2b5dc3c074c72af5e57b1f.
/system/core/include/arch/target_linux-x86/AndroidConfig.h
6d4113f859c2c970712dc69594dcc5ecc7ffba26 22-Jun-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: Ibc43e8da821400022726b119940708efb052908b
de50fc1a87447b5e9c2b5dc3c074c72af5e57b1f 10-Jun-2010 André Goddard Rosa <andre.goddard@gmail.com> AndroidConfig: define HAVE_PTHREAD_SETNAME_NP

It indicates if the underlying libc provides pthread_setname_np().

Change-Id: Ifef7730970033e834daf2fa710919722d64673e1
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
/system/core/include/arch/target_linux-x86/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/target_linux-x86/AndroidConfig.h
303254eb674991bbb79b887b0d49fef48ae5abd4 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/target_linux-x86/AndroidConfig.h
4b29fe640ae852c04d5d87d0f9527bdc32177ad1 13-Nov-2009 Jean-Baptiste Queru <jbq@google.com> eclair snapshot
/system/core/include/arch/target_linux-x86/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/target_linux-x86/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/target_linux-x86/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/target_linux-x86/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/target_linux-x86/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/target_linux-x86/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/target_linux-x86/AndroidConfig.h