Mercurial > hg > nginx-quic
comparison src/core/ngx_config.h @ 356:2e3cbc1bbe3c
nginx-0.0.7-2004-06-16-19:32:11 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 16 Jun 2004 15:32:11 +0000 |
parents | 0fb6c53fb135 |
children | 54f76b0b8dca |
comparison
equal
deleted
inserted
replaced
355:0fb6c53fb135 | 356:2e3cbc1bbe3c |
---|---|
29 #include <ngx_posix_config.h> | 29 #include <ngx_posix_config.h> |
30 | 30 |
31 #endif | 31 #endif |
32 | 32 |
33 | 33 |
34 /* STUB: autoconf */ | |
35 typedef int ngx_int_t; | |
36 typedef u_int ngx_uint_t; | |
37 typedef int ngx_flag_t; | |
38 | |
39 | |
40 #if !(WIN32) | 34 #if !(WIN32) |
41 | 35 |
42 #define ngx_signal_helper(n) SIG##n | 36 #define ngx_signal_helper(n) SIG##n |
43 #define ngx_signal_value(n) ngx_signal_helper(n) | 37 #define ngx_signal_value(n) ngx_signal_helper(n) |
44 | 38 |
55 | 49 |
56 | 50 |
57 /* TODO: platform specific: array[NGX_INVALID_ARRAY_INDEX] must cause SIGSEGV */ | 51 /* TODO: platform specific: array[NGX_INVALID_ARRAY_INDEX] must cause SIGSEGV */ |
58 #define NGX_INVALID_ARRAY_INDEX 0x80000000 | 52 #define NGX_INVALID_ARRAY_INDEX 0x80000000 |
59 | 53 |
54 | |
55 #if 1 | |
56 /* STUB: autoconf */ | |
57 typedef int ngx_int_t; | |
58 typedef u_int ngx_uint_t; | |
59 typedef int ngx_flag_t; | |
60 #define NGX_INT_T_LEN sizeof("-2147483648") - 1 | |
61 #define NGX_INT_T_FMT "d" | |
62 #define NGX_UINT_T_FMT "u" | |
63 | |
64 #else | |
65 | |
66 typedef long ngx_int_t; | |
67 typedef u_long ngx_uint_t; | |
68 typedef long ngx_flag_t; | |
69 #define NGX_INT_T_LEN sizeof("-9223372036854775808") - 1 | |
70 #define NGX_INT_T_FMT "lld" | |
71 #define NGX_UINT_T_FMT "llu" | |
72 | |
73 #endif | |
60 | 74 |
61 /* TODO: auto */ | 75 /* TODO: auto */ |
62 #define NGX_INT32_LEN sizeof("-2147483648") - 1 | 76 #define NGX_INT32_LEN sizeof("-2147483648") - 1 |
63 #define NGX_INT64_LEN sizeof("-9223372036854775808") - 1 | 77 #define NGX_INT64_LEN sizeof("-9223372036854775808") - 1 |
64 #if 0 | 78 #if 0 |