summaryrefslogtreecommitdiffhomepage
path: root/src/core/ngx_config.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-01-30 07:28:09 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-01-30 07:28:09 +0000
commit86de4cbef5f075840406e24e16a2b1417f721bb3 (patch)
treec4af4ebbab09e3de2722107cff9b3647c0b95aca /src/core/ngx_config.h
parent1b8b119932d10d9030aa6dccd3719e5a84de33b5 (diff)
downloadnginx-86de4cbef5f075840406e24e16a2b1417f721bb3.tar.gz
nginx-86de4cbef5f075840406e24e16a2b1417f721bb3.tar.bz2
nginx-0.0.1-2003-01-30-10:28:09 import
Diffstat (limited to 'src/core/ngx_config.h')
-rw-r--r--src/core/ngx_config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/ngx_config.h b/src/core/ngx_config.h
index 2797a8df3..a90a1dc4b 100644
--- a/src/core/ngx_config.h
+++ b/src/core/ngx_config.h
@@ -21,6 +21,11 @@
#define ngx_align(p) (char *) (((NGX_ALIGN_TYPE) p + NGX_ALIGN) & ~NGX_ALIGN)
+
+/* Platform specific: array[NGX_INVALID_ARRAY_INDEX] should cause SIGSEGV */
+#define NGX_INVALID_ARRAY_INDEX 0x80000000
+
+
#ifdef _WIN32
#define WIN32 1