comparison src/core/ngx_config.h @ 33:b2e039840718

nginx-0.0.1-2002-12-19-20:49:51 import
author Igor Sysoev <igor@sysoev.ru>
date Thu, 19 Dec 2002 17:49:51 +0000
parents 6a0b3d6e9c13
children c14d7232b11f
comparison
equal deleted inserted replaced
32:d45effe5854c 33:b2e039840718
49 #if (HAVE_WIN32_TRANSMITPACKETS) || (HAVE_WIN32_TRANSMITFILE) 49 #if (HAVE_WIN32_TRANSMITPACKETS) || (HAVE_WIN32_TRANSMITFILE)
50 #define HAVE_SENDFILE 1 50 #define HAVE_SENDFILE 1
51 #endif 51 #endif
52 52
53 #else /* POSIX */ 53 #else /* POSIX */
54
55
56
57 /* Solaris */
58 #if defined(sun) && (defined(__svr4__) || defined(__SVR4))
59
60 #define SOLARIS 1
61
62 #define _FILE_OFFSET_BITS 64 /* should be before sys/types.h */
63
64 #ifndef HAVE_INHERITED_NONBLOCK
65 #define HAVE_INHERITED_NONBLOCK 1
66 #endif
67
68 #endif /* Solaris */
69
70
54 71
55 #include <unistd.h> 72 #include <unistd.h>
56 #include <stddef.h> /* offsetof */ 73 #include <stddef.h> /* offsetof */
57 #include <stdlib.h> 74 #include <stdlib.h>
58 #include <stdio.h> 75 #include <stdio.h>