comparison src/core/ngx_config.h @ 57:a499e0d1f16e

nginx-0.0.1-2003-01-30-10:28:09 import
author Igor Sysoev <igor@sysoev.ru>
date Thu, 30 Jan 2003 07:28:09 +0000
parents 83fa61cd3d2f
children e8cdc2989cee
comparison
equal deleted inserted replaced
56:058f01f78761 57:a499e0d1f16e
17 /* auto_conf */ 17 /* auto_conf */
18 #define NGX_ALIGN (4 - 1) 18 #define NGX_ALIGN (4 - 1)
19 #define NGX_ALIGN_TYPE unsigned 19 #define NGX_ALIGN_TYPE unsigned
20 20
21 #define ngx_align(p) (char *) (((NGX_ALIGN_TYPE) p + NGX_ALIGN) & ~NGX_ALIGN) 21 #define ngx_align(p) (char *) (((NGX_ALIGN_TYPE) p + NGX_ALIGN) & ~NGX_ALIGN)
22
23
24
25 /* Platform specific: array[NGX_INVALID_ARRAY_INDEX] should cause SIGSEGV */
26 #define NGX_INVALID_ARRAY_INDEX 0x80000000
22 27
23 28
24 #ifdef _WIN32 29 #ifdef _WIN32
25 30
26 #define WIN32 1 31 #define WIN32 1