diff options
Diffstat (limited to 'src/os')
-rw-r--r-- | src/os/unix/ngx_atomic.h | 2 | ||||
-rw-r--r-- | src/os/win32/ngx_win32_config.h | 1 |
2 files changed, 2 insertions, 1 deletions
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 |