• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/corennnnn


Commit MetaInfo

Revision4db670592e87387c61ad5af39d1c614d604db589 (tree)
Zeit2010-04-14 19:17:28
AutorDan Bornstein <danfuzz@andr...>
CommiterChih-Wei Huang

Log Message

Define HAVE_SYS_SENDFILE_H.

Platforms differ on whether sys/sendfile.h or sys/socket.h is where to
find the declaration for sendfile().

Ändern Zusammenfassung

Diff

--- a/include/arch/darwin-x86/AndroidConfig.h
+++ b/include/arch/darwin-x86/AndroidConfig.h
@@ -86,6 +86,11 @@
8686 #define HAVE_TERMIO_H
8787
8888 /*
89+ * Define this if you have <sys/sendfile.h>
90+ */
91+/* #define HAVE_SYS_SENDFILE_H 1 */
92+
93+/*
8994 * Define this if you build against MSVCRT.DLL
9095 */
9196 /* #define HAVE_MS_C_RUNTIME */
--- a/include/arch/freebsd-x86/AndroidConfig.h
+++ b/include/arch/freebsd-x86/AndroidConfig.h
@@ -91,6 +91,11 @@
9191 /* #define HAVE_TERMIO_H */
9292
9393 /*
94+ * Define this if you have <sys/sendfile.h>
95+ */
96+/* #define HAVE_SYS_SENDFILE_H 1 */
97+
98+/*
9499 * Define this if you build against MSVCRT.DLL
95100 */
96101 /* #define HAVE_MS_C_RUNTIME */
--- a/include/arch/linux-arm/AndroidConfig.h
+++ b/include/arch/linux-arm/AndroidConfig.h
@@ -92,6 +92,11 @@
9292 #define HAVE_TERMIO_H
9393
9494 /*
95+ * Define this if you have <sys/sendfile.h>
96+ */
97+#define HAVE_SYS_SENDFILE_H 1
98+
99+/*
95100 * Define this if you build against MSVCRT.DLL
96101 */
97102 /* #define HAVE_MS_C_RUNTIME */
--- a/include/arch/linux-x86/AndroidConfig.h
+++ b/include/arch/linux-x86/AndroidConfig.h
@@ -86,6 +86,11 @@
8686 #define HAVE_TERMIO_H
8787
8888 /*
89+ * Define this if you have <sys/sendfile.h>
90+ */
91+#define HAVE_SYS_SENDFILE_H 1
92+
93+/*
8994 * Define this if you build against MSVCRT.DLL
9095 */
9196 /* #define HAVE_MS_C_RUNTIME */
--- a/include/arch/target_linux-x86/AndroidConfig.h
+++ b/include/arch/target_linux-x86/AndroidConfig.h
@@ -78,6 +78,11 @@
7878 #define HAVE_TERMIO_H 1
7979
8080 /*
81+ * Define this if you have <sys/sendfile.h>
82+ */
83+#define HAVE_SYS_SENDFILE_H 1
84+
85+/*
8186 * Define this if you build against have Microsoft C runtime (MSVCRT.DLL)
8287 */
8388 /* #define HAVE_MS_C_RUNTIME */
--- a/include/arch/windows/AndroidConfig.h
+++ b/include/arch/windows/AndroidConfig.h
@@ -101,6 +101,13 @@
101101 #endif
102102
103103 /*
104+ * Define this if you have <sys/sendfile.h>
105+ */
106+#ifdef __CYGWIN__
107+# define HAVE_SYS_SENDFILE_H 1
108+#endif
109+
110+/*
104111 * Define this if you build against MSVCRT.DLL
105112 */
106113 #ifndef __CYGWIN__