summaryrefslogtreecommitdiffstats
path: root/include/arch/freebsd-x86
Commit message (Collapse)AuthorAgeFilesLines
* Move AndroidConfig.hs to the build project.Ying Wang2012-09-201-376/+0
| | | | Change-Id: I482e36f9e7f665d7cfe43463c9cbc15846e8b20a
* Provide portable wrapper for qsort_r.Jeff Brown2012-03-191-0/+10
| | | | | | | | | 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
* Set HAVE_LOCALTIME_R to 1 when defined.Jeff Brown2012-01-191-1/+1
| | | | | | | 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
* Revert "Define O_BINARY for non-Windows platforms."Raphael2011-03-021-8/+0
| | | | This reverts commit bd70e4aca5680acb7d5da5500b7e8c618fb499f2.
* am 733e4701: am fa5f2ad4: am bd8f4a85: Merge "Define O_BINARY for ↵Raphael Moll2011-03-021-0/+8
|\ | | | | | | | | | | | | non-Windows platforms." * commit '733e47011023787cf996b1b4f232453b2324e303': Define O_BINARY for non-Windows platforms.
| * Define O_BINARY for non-Windows platforms.Raphael Moll2011-02-161-0/+8
| | | | | | | | | | | | | | | | | | | | 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-081-1/+1
| | | | | | | | | | | | | | | | | | 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-061-0/+5
|/ | | | | | | | 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
* Define HAVE_STAT_ST_MTIM and disable it under MinGW/Cygwin.Raphael Moll2010-10-131-0/+9
| | | | | | | | | | 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
* Add HAVE_PREAD definition to platformsKenny Root2010-10-041-0/+5
| | | | | | | | 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
* Implementation of open_memstream().Andy McFadden2010-01-251-0/+10
| | | | | | | | | | | 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.
* Define HAVE_SYS_SENDFILE_H.Dan Bornstein2009-10-301-0/+5
| | | | | | | Platforms differ on whether sys/sendfile.h or sys/socket.h is where to find the declaration for sendfile(). Change-Id: Ib6e882534b7dc605d30aefed55732dc1ee2b6772
* Disable sched_policy under Windows.Raphael2009-09-151-0/+5
| | | | | | | 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
* Added defines for <stdint.h> and <stdbool.h>.Andy McFadden2009-08-051-0/+10
| | | | | | | | | 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.
* 1. added macro definitions to AndroidConfig.hAlexey Tarasov2008-11-071-1/+22
| | | | 2. removed unnecessary include of <alloca.h>
* Added AndroidConfig.h for FreeBSDAlexey Tarasov2008-11-031-0/+296