diff src/http/ngx_http_variables.h @ 1310:33d6c994a0b2

Sun Studio on sparc uses different bit order
author Igor Sysoev <igor@sysoev.ru>
date Tue, 17 Jul 2007 09:23:23 +0000
parents f59d15404269
children 4c43e25d11ea
line wrap: on
line diff
--- 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 }