summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDan Bornstein <danfuzz@android.com>2009-10-30 17:15:13 -0700
committerJean-Baptiste Queru <jbq@google.com>2009-11-17 14:34:12 -0800
commit303254eb674991bbb79b887b0d49fef48ae5abd4 (patch)
tree9d7d8f4ed7f615aa915d9553b7e361ad3e4aafb1 /include
parent333a80cf9ffc975aee91d82bee2bb17cdfe458a7 (diff)
downloadcore-303254eb674991bbb79b887b0d49fef48ae5abd4.tar.gz
core-303254eb674991bbb79b887b0d49fef48ae5abd4.tar.bz2
core-303254eb674991bbb79b887b0d49fef48ae5abd4.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')
-rw-r--r--include/arch/darwin-x86/AndroidConfig.h5
-rw-r--r--include/arch/freebsd-x86/AndroidConfig.h5
-rw-r--r--include/arch/linux-arm/AndroidConfig.h5
-rw-r--r--include/arch/linux-sh/AndroidConfig.h5
-rw-r--r--include/arch/linux-x86/AndroidConfig.h5
-rw-r--r--include/arch/target_linux-x86/AndroidConfig.h5
-rw-r--r--include/arch/windows/AndroidConfig.h7
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__