changeset 4563:cc038cc834be

Configure: fixed msghdr.msg_control test on 64bit platforms. Broken by r4560.
author Maxim Dounin <mdounin@mdounin.ru>
date Wed, 28 Mar 2012 12:38:03 +0000
parents b1950b0a9550
children 13eb3193cd63
files auto/unix
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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