comparison src/os/unix/ngx_solaris_config.h @ 102:7e86d028d8f0

nginx-0.0.1-2003-06-06-18:59:20 import
author Igor Sysoev <igor@sysoev.ru>
date Fri, 06 Jun 2003 14:59:20 +0000
parents 2e069b6e6920
children 6dfda4cf5200
comparison
equal deleted inserted replaced
101:2e069b6e6920 102:7e86d028d8f0
3 3
4 4
5 #define SOLARIS 1 5 #define SOLARIS 1
6 6
7 #define _REENTRANT 7 #define _REENTRANT
8
8 #define _FILE_OFFSET_BITS 64 /* must be before sys/types.h */ 9 #define _FILE_OFFSET_BITS 64 /* must be before sys/types.h */
9
10 10
11 #include <unistd.h> 11 #include <unistd.h>
12 #include <stddef.h> /* offsetof */ 12 #include <stddef.h> /* offsetof */
13 #include <stdlib.h> 13 #include <stdlib.h>
14 #include <stdio.h> 14 #include <stdio.h>
24 #include <arpa/inet.h> 24 #include <arpa/inet.h>
25 #include <netdb.h> 25 #include <netdb.h>
26 26
27 27
28 typedef uint32_t u_int32_t; 28 typedef uint32_t u_int32_t;
29
30 #define QD_FMT "%lld"
31 #define QX_FMT "%llx"
32 #define OFF_FMT "%lld"
29 33
30 34
31 #ifndef HAVE_SELECT 35 #ifndef HAVE_SELECT
32 #define HAVE_SELECT 1 36 #define HAVE_SELECT 1
33 #endif 37 #endif