comparison src/os/unix/ngx_freebsd_config.h @ 189:c966c09be66b

nginx-0.0.1-2003-11-18-19:49:00 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 18 Nov 2003 16:49:00 +0000
parents d5f50cefc322
children 02a715e85df1
comparison
equal deleted inserted replaced
188:0061d1f0908d 189:c966c09be66b
31 typedef u_int64_t uint64_t; 31 typedef u_int64_t uint64_t;
32 typedef u_int32_t uintptr_t; 32 typedef u_int32_t uintptr_t;
33 #endif 33 #endif
34 34
35 35
36 /* TODO: autoconf ??? */
36 #if __FreeBSD_version < 330002 /* exactly */ 37 #if __FreeBSD_version < 330002 /* exactly */
37 typedef uint32_t socklen_t; 38 typedef uint32_t socklen_t;
38 #endif 39 #endif
39 40
40 41
42 /* TODO: autoconf */
41 #if (i386) 43 #if (i386)
42 44
43 #define OFF_FMT "%lld" 45 #define OFF_FMT "%lld"
44 #define SIZE_FMT "%d" 46 #define SIZE_FMT "%d"
45 #define SIZEX_FMT "%x" 47 #define SIZEX_FMT "%x"
50 #define SIZE_FMT "%ld" 52 #define SIZE_FMT "%ld"
51 #define SIZEX_FMT "%lx" 53 #define SIZEX_FMT "%lx"
52 54
53 #endif 55 #endif
54 56
55 #define TIME_FMT "%lu" 57 #define TIME_FMT "%ld"
56 #define PID_FMT "%d" 58 #define PID_FMT "%d"
57 #define RLIM_FMT "%lld" 59 #define RLIM_FMT "%lld"
58 60
59 61
60 #ifndef HAVE_SELECT 62 #ifndef HAVE_SELECT
89 #define HAVE_DEFERRED_ACCEPT 1 91 #define HAVE_DEFERRED_ACCEPT 1
90 #endif 92 #endif
91 93
92 94
93 /* STUB */ 95 /* STUB */
94 #define HAVE_PREAD 1 96 #define HAVE_PREAD 0
95 #define HAVE_PWRITE 1 97 #define HAVE_PWRITE 0
96 #define HAVE_LOCALTIME_R 1 98 #define HAVE_LOCALTIME_R 1
97 99
98 100
99 /* FreeBSD sendfile */ 101 /* FreeBSD sendfile */
100 102