From c2807ecf4522cbd23c18fe87e3d4c0f793026e7a Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 16 Feb 2006 15:26:46 +0000 Subject: nginx-0.3.28-RELEASE import *) Feature: the "restrict_host_names" directive was canceled. *) Feature: the --with-cpu-opt=ppc64 configuration parameter. *) Bugfix: on some condition the proxied connection with a client was terminated prematurely. Thanks to Vladimir Shutoff. *) Bugfix: the "X-Accel-Limit-Rate" header line was not taken into account if the request was redirected using the "X-Accel-Redirect" header line. *) Bugfix: the "post_action" directive ran only after a successful completion of a request. *) Bugfix: the proxied response body generated by the "post_action" directive was transferred to a client. --- src/os/unix/ngx_atomic.h | 2 +- src/os/win32/ngx_win32_config.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/os') diff --git a/src/os/unix/ngx_atomic.h b/src/os/unix/ngx_atomic.h index c505027fd..791982627 100644 --- a/src/os/unix/ngx_atomic.h +++ b/src/os/unix/ngx_atomic.h @@ -115,7 +115,7 @@ typedef volatile ngx_atomic_uint_t ngx_atomic_t; #endif -#elif ( __ppc__ || __powerpc__ ) +#elif ( __powerpc__ || __POWERPC__ ) #define NGX_HAVE_ATOMIC_OPS 1 diff --git a/src/os/win32/ngx_win32_config.h b/src/os/win32/ngx_win32_config.h index f2c7a0665..8df058610 100644 --- a/src/os/win32/ngx_win32_config.h +++ b/src/os/win32/ngx_win32_config.h @@ -125,6 +125,7 @@ typedef u_short in_port_t; typedef int sig_atomic_t; +#define NGX_PTR_SIZE 4 #define NGX_SIZE_T_LEN sizeof("-2147483648") - 1 #define NGX_MAX_SIZE_T_VALUE 2147483647 #define NGX_TIME_T_LEN sizeof("-2147483648") - 1 -- cgit