diff options
author | Kenny Root <kroot@google.com> | 2010-12-06 15:16:31 -0800 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2010-12-06 15:20:54 -0800 |
commit | 07ad9961aee0cfcae89e23d47f47314e1d3629c1 (patch) | |
tree | 58efe42fe4b81b38677818f056029d3e0fceb82d /include/arch/freebsd-x86 | |
parent | 9db7945ed2f9eb5756aa0c1e5e72fa6240f74847 (diff) | |
download | system_core-07ad9961aee0cfcae89e23d47f47314e1d3629c1.zip system_core-07ad9961aee0cfcae89e23d47f47314e1d3629c1.tar.gz system_core-07ad9961aee0cfcae89e23d47f47314e1d3629c1.tar.bz2 |
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
Diffstat (limited to 'include/arch/freebsd-x86')
-rw-r--r-- | include/arch/freebsd-x86/AndroidConfig.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/arch/freebsd-x86/AndroidConfig.h b/include/arch/freebsd-x86/AndroidConfig.h index 992b689..ad96e55 100644 --- a/include/arch/freebsd-x86/AndroidConfig.h +++ b/include/arch/freebsd-x86/AndroidConfig.h @@ -175,6 +175,11 @@ #define _LARGEFILE_SOURCE 1 /* + * Define if off_t is always 64-bit + */ +/* #define HAVE_OFF64_T */ + +/* * Defined if we have the backtrace() call for retrieving a stack trace. * Needed for CallStack to operate; if not defined, CallStack is * non-functional. |