summaryrefslogtreecommitdiffstats
path: root/include/arch
Commit message (Collapse)AuthorAgeFilesLines
* am e8e73b01: am 311a4758: Merge "Remove system/core\'s remnants of SH support."Jean-Baptiste Queru2012-08-131-379/+0
|\ | | | | | | | | * commit 'e8e73b01399e8d3c3fc6b94d26ef9cc49b33dda8': Remove system/core's remnants of SH support.
| * Remove system/core's remnants of SH support.Elliott Hughes2012-08-111-379/+0
| | | | | | | | | | | | SH support is long dead. Change-Id: I6be2763ca9f1ad8b3f9b09a8ad2f1d67f1e7f802
* | am 2ff60998: am 605f8706: Merge "Add Mips architecture to system/core/include"Elliott Hughes2012-08-111-0/+386
|\| | | | | | | | | * commit '2ff6099854691e3406a17797d4aa83624174e6f4': Add Mips architecture to system/core/include
| * Merge "Add Mips architecture to system/core/include"Elliott Hughes2012-08-111-0/+386
| |\
| | * Add Mips architecture to system/core/includeDuane Sand2012-05-291-0/+386
| | | | | | | | | | | | Change-Id: Ief7bdbd8d09cabe3f11f3ed47a932a7faa81cad9
| | * Use #define value of 1 to indicate presence of headers.Jeff Brown2012-04-284-8/+8
| | | | | | | | | | | | | | | | | | strace tests the value of HAVE_TERMIO_H and HAVE_SYS_UIO_H using Change-Id: If899845503547410cf17d005733d1c0c6741e939
* | | Mac OS has included dladdr(3) since at least 10.4.Elliott Hughes2012-05-231-1/+1
|/ / | | | | | | | | | | This is needed by libcorkscrew. Change-Id: Iacc56b014398da195b33c3cebc420afe6044381c
* | qsort_t was only defined in glibc 2.8Jeff Brown2012-03-191-0/+4
| | | | | | | | Change-Id: I646bac8ed4d94bf75a33b886e700c91c3837bc32
* | Provide portable wrapper for qsort_r.Jeff Brown2012-03-198-0/+80
| | | | | | | | | | | | | | | | | | 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
* | Use #define value of 1 to indicate presence of headers.Jeff Brown2012-03-024-8/+8
| | | | | | | | | | | | strace tests the value of HAVE_TERMIO_H and HAVE_SYS_UIO_H using Change-Id: If899845503547410cf17d005733d1c0c6741e939
* | Set HAVE_LOCALTIME_R to 1 when defined.Jeff Brown2012-01-198-8/+8
|/ | | | | | | 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
* enable HAVE_DLADDR, since... we have itMathias Agopian2011-09-281-1/+1
| | | | Change-Id: I02baa1f7d3383e93a43fa04de1d39f7398e971bc
* Revert "Define O_BINARY for non-Windows platforms."Raphael2011-03-028-62/+0
| | | | This reverts commit bd70e4aca5680acb7d5da5500b7e8c618fb499f2.
* am 733e4701: am fa5f2ad4: am bd8f4a85: Merge "Define O_BINARY for ↵Raphael Moll2011-03-028-0/+62
|\ | | | | | | | | | | | | non-Windows platforms." * commit '733e47011023787cf996b1b4f232453b2324e303': Define O_BINARY for non-Windows platforms.
| * Define O_BINARY for non-Windows platforms.Raphael Moll2011-02-168-0/+62
| | | | | | | | | | | | | | | | | | | | 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
* | Cygwin needs HAVE_OFF64_T and fix descriptionKenny Root2010-12-088-9/+9
| | | | | | | | | | | | | | | | | | 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
* | Add HAVE_OFF64_T to AndroidConfig.hKenny Root2010-12-068-0/+40
| | | | | | | | | | | | | | | | 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
* | am ec70a9e1: am f2ff2112: Merge "Add config header file for Linux/PPC."Jean-Baptiste Queru2010-10-211-0/+321
|\| | | | | | | | | | | | | Merge commit 'ec70a9e1b5c12cde090749dc07e29b396b12f656' * commit 'ec70a9e1b5c12cde090749dc07e29b396b12f656': Add config header file for Linux/PPC.
| * am f2ff2112: Merge "Add config header file for Linux/PPC."Jean-Baptiste Queru2010-10-201-0/+321
| |\ | | | | | | | | | | | | | | | | | | Merge commit 'f2ff2112309d03674b88433276a57500b723fa9e' into gingerbread-plus-aosp * commit 'f2ff2112309d03674b88433276a57500b723fa9e': Add config header file for Linux/PPC.
| | * Add config header file for Linux/PPC.Marcus Comstedt2010-10-161-0/+321
| | | | | | | | | | | | Change-Id: I892e9d922ba4b4090bdb5de00d8cc7adf0123cfe
| | * It seems that Windows actually does have a header for <stdbool.h>.Dan Bornstein2010-09-011-1/+1
| | | | | | | | | | | | Change-Id: I25d7846c066135f0af1fef2995bcb86397b23226
* | | am 7e65ede6: am 9cd8057b: Merge "Define HAVE_STAT_ST_MTIM and disable it ↵Raphael Moll2010-10-157-0/+69
|\| | | | | | | | | | | | | | | | | | | | | | | | | | under MinGW/Cygwin." into gingerbread Merge commit '7e65ede62065925e29b5b18f253758bb280f9383' * commit '7e65ede62065925e29b5b18f253758bb280f9383': Define HAVE_STAT_ST_MTIM and disable it under MinGW/Cygwin.
| * | am 9cd8057b: Merge "Define HAVE_STAT_ST_MTIM and disable it under ↵Raphael Moll2010-10-147-0/+69
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MinGW/Cygwin." into gingerbread Merge commit '9cd8057b6e8f5fc1254a4ed19e8127b5091b5dce' into gingerbread-plus-aosp * commit '9cd8057b6e8f5fc1254a4ed19e8127b5091b5dce': Define HAVE_STAT_ST_MTIM and disable it under MinGW/Cygwin.
| | * | Define HAVE_STAT_ST_MTIM and disable it under MinGW/Cygwin.Raphael Moll2010-10-137-0/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | am 6be460d5: Add HAVE_PREAD definition to platformsKenny Root2010-10-047-0/+35
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '6be460d5b0b60aca4e8d649e2254f8a8920f4d98' into gingerbread-plus-aosp * commit '6be460d5b0b60aca4e8d649e2254f8a8920f4d98': Add HAVE_PREAD definition to platforms
| | * | Add HAVE_PREAD definition to platformsKenny Root2010-10-047-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Add HAVE_PREAD definition to platformsKenny Root2010-10-047-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | am 556f09c4: am f74af26d: It seems that Windows actually does have a header ↵Dan Bornstein2010-09-011-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for <stdbool.h>. Merge commit '556f09c426084b62c34742ee0810fc97ae37abf7' * commit '556f09c426084b62c34742ee0810fc97ae37abf7': It seems that Windows actually does have a header for <stdbool.h>.
| * | | am f74af26d: It seems that Windows actually does have a header for <stdbool.h>.Dan Bornstein2010-09-011-1/+1
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'f74af26d1899fd85aa80dd65947dac89ef30a42c' into gingerbread-plus-aosp * commit 'f74af26d1899fd85aa80dd65947dac89ef30a42c': It seems that Windows actually does have a header for <stdbool.h>.
| | * | It seems that Windows actually does have a header for <stdbool.h>.Dan Bornstein2010-09-011-1/+1
| | | | | | | | | | | | | | | | Change-Id: I443929d07972389a8c9837926a4b7df37bd6a16a
* | | | am 0796f618: merge from open-source masterThe Android Open Source Project2010-07-021-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '0796f618775b34e14ff624bcfca828d55183b4c5' * commit '0796f618775b34e14ff624bcfca828d55183b4c5': DBUS is not fully implemented. Disable it for now
| * | | merge from open-source masterThe Android Open Source Project2010-07-021-1/+1
| |\ \ \ | | |/ / | |/| / | | |/ Change-Id: I1be135f087795bf1789dbf911c585a606bf25778
| | * DBUS is not fully implemented. Disable it for nowBruce Beare2010-06-241-1/+1
| | | | | | | | | | | | | | | Change-Id: I2286064bffc7e9fa7381aa04d5d20abf11c3aab7 Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
| | * merge from open-source masterThe Android Open Source Project2010-06-223-15/+0
| | |\ | | | | | | | | | | | | Change-Id: I01315984e45ecc0261ea35b5370cbe624cc90cea
| | | * Revert "AndroidConfig: define HAVE_PTHREAD_SETNAME_NP"Jean-Baptiste Queru2010-06-223-15/+0
| | | | | | | | | | | | | | | | This reverts commit de50fc1a87447b5e9c2b5dc3c074c72af5e57b1f.
| | * | merge from open-source masterThe Android Open Source Project2010-06-223-0/+15
| | |\| | | | | | | | | | | | | Change-Id: Ibc43e8da821400022726b119940708efb052908b
| | | * AndroidConfig: define HAVE_PTHREAD_SETNAME_NPAndré Goddard Rosa2010-06-103-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It indicates if the underlying libc provides pthread_setname_np(). Change-Id: Ifef7730970033e834daf2fa710919722d64673e1 Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
* | | | am 635dc574: am 57dbb2cb: Merge "Add a HAVE define for ↵Andy McFadden2010-07-013-3/+24
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pthread_setname_np()." into gingerbread Merge commit '635dc574e9009f38b34b2e84b6c1a2b5efd2ebc9' * commit '635dc574e9009f38b34b2e84b6c1a2b5efd2ebc9': Add a HAVE define for pthread_setname_np().
| * | | Add a HAVE define for pthread_setname_np().Andy McFadden2010-06-303-3/+24
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Fix adb, fastboot to compile in Windows SDK under Linux.Raphael2010-04-231-1/+0
| | | | | | | | | | | | | | | | | | (Merged from master Change I3d0e4cab) Change-Id: Ib3fd566bdaf09d5893a6b0c66168c76c6b0d92eb
* | | Don't define __linux__ if it is already defined by the toolchain.Jing Yu2010-05-181-0/+2
| | | | | | | | | | | | | | | | | | | | | This change does not affect existing behavior at all and makes the file compatible with new toolchain. Change-Id: Ia33bb9372d1705ec538b414bf69773f093e4543c
* | | Fix adb, fastboot to compile in Windows SDK under Linux.Raphael2010-04-131-1/+0
|/ / | | | | | | Change-Id: I3d0e4cabd65d9de17036901a22ec3277a6d58e64
* | resolved conflicts for merge of c8472186 to masterJean-Baptiste Queru2010-01-271-2/+2
|\| | | | | | | Change-Id: I41acaaa3a5d6aeb6873472f17db4cfa756b2d23f
| * Add x86-64 checking for DarwinKenny Root2010-01-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Detect byte endianness when compiled in x86-64 mode in Mac OS X 10.6 Snow Leopard environments or above. Allows compilation of host binaries in these environments without any changes from its default stock configuration. This change doesn't require that the binaries be built in 64-bit, but it does allow this. One could still use "gcc_select 4.0" with the 10.4 SDK installed on Snow Leopard to compile in 32-bit mode. Change-Id: I155a531a9bff450dd6c077b5275652731c59a908
| * Define HAVE_SYS_SENDFILE_H.Dan Bornstein2009-11-177-0/+37
| | | | | | | | | | | | | | Platforms differ on whether sys/sendfile.h or sys/socket.h is where to find the declaration for sendfile(). Change-Id: Ib6e882534b7dc605d30aefed55732dc1ee2b6772
| * merge from eclairJean-Baptiste Queru2009-11-156-3/+91
| |\
| | * eclair snapshotJean-Baptiste Queru2009-11-126-3/+408
| | |
| | * auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-035-0/+1437
| | |
| | * auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-035-1437/+0
| | |
* | | Implementation of open_memstream().Andy McFadden2010-01-257-0/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.