system/corennnnn
Revision | 4db670592e87387c61ad5af39d1c614d604db589 (tree) |
---|---|
Zeit | 2010-04-14 19:17:28 |
Autor | Dan Bornstein <danfuzz@andr...> |
Commiter | Chih-Wei Huang |
Define HAVE_SYS_SENDFILE_H.
Platforms differ on whether sys/sendfile.h or sys/socket.h is where to
find the declaration for sendfile().
@@ -86,6 +86,11 @@ | ||
86 | 86 | #define HAVE_TERMIO_H |
87 | 87 | |
88 | 88 | /* |
89 | + * Define this if you have <sys/sendfile.h> | |
90 | + */ | |
91 | +/* #define HAVE_SYS_SENDFILE_H 1 */ | |
92 | + | |
93 | +/* | |
89 | 94 | * Define this if you build against MSVCRT.DLL |
90 | 95 | */ |
91 | 96 | /* #define HAVE_MS_C_RUNTIME */ |
@@ -91,6 +91,11 @@ | ||
91 | 91 | /* #define HAVE_TERMIO_H */ |
92 | 92 | |
93 | 93 | /* |
94 | + * Define this if you have <sys/sendfile.h> | |
95 | + */ | |
96 | +/* #define HAVE_SYS_SENDFILE_H 1 */ | |
97 | + | |
98 | +/* | |
94 | 99 | * Define this if you build against MSVCRT.DLL |
95 | 100 | */ |
96 | 101 | /* #define HAVE_MS_C_RUNTIME */ |
@@ -92,6 +92,11 @@ | ||
92 | 92 | #define HAVE_TERMIO_H |
93 | 93 | |
94 | 94 | /* |
95 | + * Define this if you have <sys/sendfile.h> | |
96 | + */ | |
97 | +#define HAVE_SYS_SENDFILE_H 1 | |
98 | + | |
99 | +/* | |
95 | 100 | * Define this if you build against MSVCRT.DLL |
96 | 101 | */ |
97 | 102 | /* #define HAVE_MS_C_RUNTIME */ |
@@ -86,6 +86,11 @@ | ||
86 | 86 | #define HAVE_TERMIO_H |
87 | 87 | |
88 | 88 | /* |
89 | + * Define this if you have <sys/sendfile.h> | |
90 | + */ | |
91 | +#define HAVE_SYS_SENDFILE_H 1 | |
92 | + | |
93 | +/* | |
89 | 94 | * Define this if you build against MSVCRT.DLL |
90 | 95 | */ |
91 | 96 | /* #define HAVE_MS_C_RUNTIME */ |
@@ -78,6 +78,11 @@ | ||
78 | 78 | #define HAVE_TERMIO_H 1 |
79 | 79 | |
80 | 80 | /* |
81 | + * Define this if you have <sys/sendfile.h> | |
82 | + */ | |
83 | +#define HAVE_SYS_SENDFILE_H 1 | |
84 | + | |
85 | +/* | |
81 | 86 | * Define this if you build against have Microsoft C runtime (MSVCRT.DLL) |
82 | 87 | */ |
83 | 88 | /* #define HAVE_MS_C_RUNTIME */ |
@@ -101,6 +101,13 @@ | ||
101 | 101 | #endif |
102 | 102 | |
103 | 103 | /* |
104 | + * Define this if you have <sys/sendfile.h> | |
105 | + */ | |
106 | +#ifdef __CYGWIN__ | |
107 | +# define HAVE_SYS_SENDFILE_H 1 | |
108 | +#endif | |
109 | + | |
110 | +/* | |
104 | 111 | * Define this if you build against MSVCRT.DLL |
105 | 112 | */ |
106 | 113 | #ifndef __CYGWIN__ |