summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2012-03-28 12:38:03 +0000
committerMaxim Dounin <mdounin@mdounin.ru>2012-03-28 12:38:03 +0000
commit97d7f3d827695a8835630533bd66e57c357fc894 (patch)
treee59c7225f285235049a03200f577420f8ae16e8e
parentfeda353cb39a2a648104dc0116398f93c8b9b5d8 (diff)
downloadnginx-97d7f3d827695a8835630533bd66e57c357fc894.tar.gz
nginx-97d7f3d827695a8835630533bd66e57c357fc894.tar.bz2
Configure: fixed msghdr.msg_control test on 64bit platforms.
Broken by r4560.
-rwxr-xr-xauto/unix4
1 files changed, 2 insertions, 2 deletions
diff --git a/auto/unix b/auto/unix
index a3b95f970..783219e2d 100755
--- a/auto/unix
+++ b/auto/unix
@@ -703,8 +703,8 @@ ngx_feature_incs="#include <sys/socket.h>
#include <stdio.h>"
ngx_feature_path=
ngx_feature_libs=
-ngx_feature_test="struct msghdr msg; msg.msg_control = NULL;
- printf(\"%d\", (int) msg.msg_control)"
+ngx_feature_test="struct msghdr msg;
+ printf(\"%d\", (int) sizeof(msg.msg_control))"
. auto/feature