Mercurial > hg > nginx-ranges
comparison src/core/ngx_core.h @ 578:f3a9e57d2e17
Merge with current.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 11 Mar 2010 21:27:17 +0300 |
parents | e19e5f542878 |
children |
comparison
equal
deleted
inserted
replaced
539:5f4de8cf0d9d | 578:f3a9e57d2e17 |
---|---|
81 #define LF (u_char) 10 | 81 #define LF (u_char) 10 |
82 #define CR (u_char) 13 | 82 #define CR (u_char) 13 |
83 #define CRLF "\x0d\x0a" | 83 #define CRLF "\x0d\x0a" |
84 | 84 |
85 | 85 |
86 #define ngx_abs(value) (((value) >= 0) ? (value) : - (value)) | 86 #define ngx_abs(value) (((value) >= 0) ? (value) : - (value)) |
87 #define ngx_max(val1, val2) ((val1 < val2) ? (val2) : (val1)) | |
88 #define ngx_min(val1, val2) ((val1 > val2) ? (val2) : (val1)) | |
87 | 89 |
88 void ngx_cpuinfo(void); | 90 void ngx_cpuinfo(void); |
89 | 91 |
90 | 92 |
91 #endif /* _NGX_CORE_H_INCLUDED_ */ | 93 #endif /* _NGX_CORE_H_INCLUDED_ */ |