From 97d7f3d827695a8835630533bd66e57c357fc894 Mon Sep 17 00:00:00 2001 From: Maxim Dounin Date: Wed, 28 Mar 2012 12:38:03 +0000 Subject: [PATCH] Configure: fixed msghdr.msg_control test on 64bit platforms. Broken by r4560. --- auto/unix | 4 ++-- 1 file 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 #include " 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