diff options
| author | Dan Bornstein <danfuzz@android.com> | 2009-10-30 17:15:13 -0700 |
|---|---|---|
| committer | Dan Bornstein <danfuzz@android.com> | 2009-10-30 17:15:13 -0700 |
| commit | 43ba23f30889f9e4dee0afd762f2f9a1cd5a99a8 (patch) | |
| tree | 99afc3e85b9e97def92c82d2bcdf90c50fd9c800 /include/arch | |
| parent | 1c2ce696c8758e4e96a45576768a17e4f8335595 (diff) | |
| download | core-43ba23f30889f9e4dee0afd762f2f9a1cd5a99a8.tar.gz core-43ba23f30889f9e4dee0afd762f2f9a1cd5a99a8.tar.bz2 core-43ba23f30889f9e4dee0afd762f2f9a1cd5a99a8.zip | |
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
Diffstat (limited to 'include/arch')
| -rw-r--r-- | include/arch/darwin-x86/AndroidConfig.h | 5 | ||||
| -rw-r--r-- | include/arch/freebsd-x86/AndroidConfig.h | 5 | ||||
| -rw-r--r-- | include/arch/linux-arm/AndroidConfig.h | 5 | ||||
| -rw-r--r-- | include/arch/linux-sh/AndroidConfig.h | 5 | ||||
| -rw-r--r-- | include/arch/linux-x86/AndroidConfig.h | 5 | ||||
| -rw-r--r-- | include/arch/target_linux-x86/AndroidConfig.h | 5 | ||||
| -rw-r--r-- | include/arch/windows/AndroidConfig.h | 7 |
7 files changed, 37 insertions, 0 deletions
diff --git a/include/arch/darwin-x86/AndroidConfig.h b/include/arch/darwin-x86/AndroidConfig.h index ad16e0c26..20e000015 100644 --- a/include/arch/darwin-x86/AndroidConfig.h +++ b/include/arch/darwin-x86/AndroidConfig.h @@ -86,6 +86,11 @@ #define HAVE_TERMIO_H /* + * Define this if you have <sys/sendfile.h> + */ +/* #define HAVE_SYS_SENDFILE_H 1 */ + +/* * Define this if you build against MSVCRT.DLL */ /* #define HAVE_MS_C_RUNTIME */ diff --git a/include/arch/freebsd-x86/AndroidConfig.h b/include/arch/freebsd-x86/AndroidConfig.h index 39c564b93..b01a854f3 100644 --- a/include/arch/freebsd-x86/AndroidConfig.h +++ b/include/arch/freebsd-x86/AndroidConfig.h @@ -91,6 +91,11 @@ /* #define HAVE_TERMIO_H */ /* + * Define this if you have <sys/sendfile.h> + */ +/* #define HAVE_SYS_SENDFILE_H 1 */ + +/* * Define this if you build against MSVCRT.DLL */ /* #define HAVE_MS_C_RUNTIME */ diff --git a/include/arch/linux-arm/AndroidConfig.h b/include/arch/linux-arm/AndroidConfig.h index 82e39c01d..26547a216 100644 --- a/include/arch/linux-arm/AndroidConfig.h +++ b/include/arch/linux-arm/AndroidConfig.h @@ -92,6 +92,11 @@ #define HAVE_TERMIO_H /* + * Define this if you have <sys/sendfile.h> + */ +#define HAVE_SYS_SENDFILE_H 1 + +/* * Define this if you build against MSVCRT.DLL */ /* #define HAVE_MS_C_RUNTIME */ diff --git a/include/arch/linux-sh/AndroidConfig.h b/include/arch/linux-sh/AndroidConfig.h index 4af39d94e..67ac2777d 100644 --- a/include/arch/linux-sh/AndroidConfig.h +++ b/include/arch/linux-sh/AndroidConfig.h @@ -92,6 +92,11 @@ #define HAVE_TERMIO_H /* + * Define this if you have <sys/sendfile.h> + */ +#define HAVE_SYS_SENDFILE_H 1 + +/* * Define this if you build against MSVCRT.DLL */ /* #define HAVE_MS_C_RUNTIME */ diff --git a/include/arch/linux-x86/AndroidConfig.h b/include/arch/linux-x86/AndroidConfig.h index 557ec5f94..31bdb5f95 100644 --- a/include/arch/linux-x86/AndroidConfig.h +++ b/include/arch/linux-x86/AndroidConfig.h @@ -86,6 +86,11 @@ #define HAVE_TERMIO_H /* + * Define this if you have <sys/sendfile.h> + */ +#define HAVE_SYS_SENDFILE_H 1 + +/* * Define this if you build against MSVCRT.DLL */ /* #define HAVE_MS_C_RUNTIME */ diff --git a/include/arch/target_linux-x86/AndroidConfig.h b/include/arch/target_linux-x86/AndroidConfig.h index 660572329..d89d0547e 100644 --- a/include/arch/target_linux-x86/AndroidConfig.h +++ b/include/arch/target_linux-x86/AndroidConfig.h @@ -78,6 +78,11 @@ #define HAVE_TERMIO_H 1 /* + * Define this if you have <sys/sendfile.h> + */ +#define HAVE_SYS_SENDFILE_H 1 + +/* * Define this if you build against have Microsoft C runtime (MSVCRT.DLL) */ /* #define HAVE_MS_C_RUNTIME */ diff --git a/include/arch/windows/AndroidConfig.h b/include/arch/windows/AndroidConfig.h index b240519a0..0fc4955ed 100644 --- a/include/arch/windows/AndroidConfig.h +++ b/include/arch/windows/AndroidConfig.h @@ -101,6 +101,13 @@ #endif /* + * Define this if you have <sys/sendfile.h> + */ +#ifdef __CYGWIN__ +# define HAVE_SYS_SENDFILE_H 1 +#endif + +/* * Define this if you build against MSVCRT.DLL */ #ifndef __CYGWIN__ |
