From: Maxim Dounin Date: Wed, 28 Mar 2012 12:38:03 +0000 (+0000) Subject: Configure: fixed msghdr.msg_control test on 64bit platforms. X-Git-Tag: release-1.1.18~2 X-Git-Url: http://www.kaiwu.me/postgresql/commit/static/gitweb.js?a=commitdiff_plain;h=97d7f3d827695a8835630533bd66e57c357fc894;p=nginx.git Configure: fixed msghdr.msg_control test on 64bit platforms. Broken by r4560. --- 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