Mercurial > hg > nginx-quic
comparison src/os/unix/ngx_freebsd_config.h @ 192:31824be1fc66
nginx-0.0.1-2003-11-20-10:05:50 import; auto/configure
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 20 Nov 2003 07:05:50 +0000 |
parents | 71ce40b3c37b |
children | 2357fa41738a |
comparison
equal
deleted
inserted
replaced
191:71ce40b3c37b | 192:31824be1fc66 |
---|---|
25 #include <arpa/inet.h> | 25 #include <arpa/inet.h> |
26 #include <netdb.h> | 26 #include <netdb.h> |
27 #include <osreldate.h> | 27 #include <osreldate.h> |
28 | 28 |
29 | 29 |
30 /* TODO: autoconf */ | |
31 #if __FreeBSD_version < 300007 | |
32 typedef u_int64_t uint64_t; | |
33 typedef u_int32_t uintptr_t; | |
34 #endif | |
35 | |
36 | |
37 /* TODO: autoconf ??? */ | |
38 #if __FreeBSD_version < 330002 /* exactly */ | |
39 typedef uint32_t socklen_t; | |
40 #endif | |
41 | |
42 | 30 |
43 /* TODO: autoconf */ | 31 /* TODO: autoconf */ |
44 #if (i386) | 32 #if (i386) |
45 | 33 |
46 #define OFF_FMT "%lld" | 34 #define OFF_FMT "%lld" |
53 #define SIZE_FMT "%ld" | 41 #define SIZE_FMT "%ld" |
54 #define SIZEX_FMT "%lx" | 42 #define SIZEX_FMT "%lx" |
55 | 43 |
56 #endif | 44 #endif |
57 | 45 |
46 #if 0 | |
58 #define TIME_FMT "%ld" | 47 #define TIME_FMT "%ld" |
48 #endif | |
59 #define PID_FMT "%d" | 49 #define PID_FMT "%d" |
60 #define RLIM_FMT "%lld" | 50 #define RLIM_FMT "%lld" |
61 | 51 |
62 | 52 |
63 #ifndef HAVE_SELECT | 53 #ifndef HAVE_SELECT |