aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_variables.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-07-17 09:23:23 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-07-17 09:23:23 +0000
commitf42ed05e9cb6125d5eb9183a1218cd38a4082c20 (patch)
tree71c17cb6ca65c6983e5aeed8a33b7d37f89ebe06 /src/http/ngx_http_variables.h
parentd3cdbc85e800c2678fcdfca7b6e4792c59d5838b (diff)
downloadnginx-f42ed05e9cb6125d5eb9183a1218cd38a4082c20.tar.gz
nginx-f42ed05e9cb6125d5eb9183a1218cd38a4082c20.zip
Sun Studio on sparc uses different bit order
Diffstat (limited to 'src/http/ngx_http_variables.h')
-rw-r--r--src/http/ngx_http_variables.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/http/ngx_http_variables.h b/src/http/ngx_http_variables.h
index df487e48e..1dc982844 100644
--- a/src/http/ngx_http_variables.h
+++ b/src/http/ngx_http_variables.h
@@ -14,15 +14,7 @@
#include <ngx_http.h>
-typedef struct {
- unsigned len:29;
-
- unsigned valid:1;
- unsigned no_cachable:1;
- unsigned not_found:1;
-
- u_char *data;
-} ngx_http_variable_value_t;
+typedef ngx_variable_value_t ngx_http_variable_value_t;
#define ngx_http_variable(v) { sizeof(v) - 1, 1, 0, 0, (u_char *) v }