aboutsummaryrefslogtreecommitdiff
path: root/auto/os
diff options
context:
space:
mode:
Diffstat (limited to 'auto/os')
-rw-r--r--auto/os/conf2
-rw-r--r--auto/os/linux2
2 files changed, 2 insertions, 2 deletions
diff --git a/auto/os/conf b/auto/os/conf
index 4ad72d8f1..f4ba388e1 100644
--- a/auto/os/conf
+++ b/auto/os/conf
@@ -63,7 +63,7 @@ case "$NGX_MACHINE" in
have=NGX_HAVE_NONALIGNED . auto/have
;;
- sun4u | ia64 )
+ sun4u | sparc | sparc64 | ia64 )
have=NGX_ALIGNMENT value=16 . auto/define
;;
diff --git a/auto/os/linux b/auto/os/linux
index 6354bedb4..39027b370 100644
--- a/auto/os/linux
+++ b/auto/os/linux
@@ -110,5 +110,5 @@ ngx_feature_run=no
ngx_feature_incs="#include <sched.h>"
ngx_feature_libs=
ngx_feature_test="long mask = 0;
- sched_setaffinity(0, 32, &mask)"
+ sched_setaffinity(0, 32, (cpu_set_t *) &mask)"
. auto/feature