diff --git a/include/arch/darwin-x86/AndroidConfig.h b/include/arch/darwin-x86/AndroidConfig.h index ad16e0c2626984c01927b1ab3fe7d376f6184892..20e000015817e3579d67555b8d3eb76d722bf326 100644 --- a/include/arch/darwin-x86/AndroidConfig.h +++ b/include/arch/darwin-x86/AndroidConfig.h @@ -85,6 +85,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 */ diff --git a/include/arch/freebsd-x86/AndroidConfig.h b/include/arch/freebsd-x86/AndroidConfig.h index 39c564b93a2abdc536e9561e896b25593751d547..b01a854f37bb345321fbf42c2d535d8535a78a64 100644 --- a/include/arch/freebsd-x86/AndroidConfig.h +++ b/include/arch/freebsd-x86/AndroidConfig.h @@ -90,6 +90,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 */ diff --git a/include/arch/linux-arm/AndroidConfig.h b/include/arch/linux-arm/AndroidConfig.h index 82e39c01dff7cfddd48422cfb2ac23c370f5bc5d..26547a2163974f1a7f2963863a3fe31d612e855c 100644 --- a/include/arch/linux-arm/AndroidConfig.h +++ b/include/arch/linux-arm/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 */ diff --git a/include/arch/linux-sh/AndroidConfig.h b/include/arch/linux-sh/AndroidConfig.h index 4af39d94e56256be3962733afd9f4e5a42dc6634..67ac2777d2347eed3f4cf77a9c12d241426ee100 100644 --- a/include/arch/linux-sh/AndroidConfig.h +++ b/include/arch/linux-sh/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 */ diff --git a/include/arch/linux-x86/AndroidConfig.h b/include/arch/linux-x86/AndroidConfig.h index 557ec5f946607a4f3b0003da59de963b08799711..31bdb5f95cf87f85137c06b2cb00d518f14831ae 100644 --- a/include/arch/linux-x86/AndroidConfig.h +++ b/include/arch/linux-x86/AndroidConfig.h @@ -85,6 +85,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 */ diff --git a/include/arch/target_linux-x86/AndroidConfig.h b/include/arch/target_linux-x86/AndroidConfig.h index 6605723291bc9233e1531394819296ea3fb913d3..d89d0547ef148d3b24da72ce315bded94455d7d5 100644 --- a/include/arch/target_linux-x86/AndroidConfig.h +++ b/include/arch/target_linux-x86/AndroidConfig.h @@ -77,6 +77,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) */ diff --git a/include/arch/windows/AndroidConfig.h b/include/arch/windows/AndroidConfig.h index b240519a058364c1fa9b159b42f8548b26f40943..0fc4955ed2d18762ed8681b52eb9dcce7109471d 100644 --- a/include/arch/windows/AndroidConfig.h +++ b/include/arch/windows/AndroidConfig.h @@ -100,6 +100,13 @@ # define HAVE_TERMIO_H #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 */