diff options
author | Dan Bornstein <danfuzz@android.com> | 2009-10-30 17:15:13 -0700 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2009-11-17 14:34:12 -0800 |
commit | 303254eb674991bbb79b887b0d49fef48ae5abd4 (patch) | |
tree | 9d7d8f4ed7f615aa915d9553b7e361ad3e4aafb1 /include | |
parent | 333a80cf9ffc975aee91d82bee2bb17cdfe458a7 (diff) | |
download | system_core-303254eb674991bbb79b887b0d49fef48ae5abd4.zip system_core-303254eb674991bbb79b887b0d49fef48ae5abd4.tar.gz system_core-303254eb674991bbb79b887b0d49fef48ae5abd4.tar.bz2 |
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')
-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 ad16e0c..20e0000 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 39c564b..b01a854 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 82e39c0..26547a2 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 4af39d9..67ac277 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 557ec5f..31bdb5f 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 6605723..d89d054 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 b240519..0fc4955 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__ |