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
This commit is contained in:
Dan Bornstein 2009-10-30 17:15:13 -07:00 committed by Jean-Baptiste Queru
parent 333a80cf9f
commit 303254eb67
7 changed files with 37 additions and 0 deletions

View File

@ -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
*/

View File

@ -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
*/

View File

@ -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
*/

View File

@ -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
*/

View File

@ -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
*/

View File

@ -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)
*/

View File

@ -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
*/