Browse files

Configure: fixed msghdr.msg_control test on 64bit platforms.

Broken by r4560.


git-svn-id: svn://svn.nginx.org/nginx/trunk@4564 73f98a42-aea0-e011-b76d-00259023448c
  • Loading branch information...
1 parent 964cd1b commit 2d41bc2196a8bd38c239f8cd2b32a2eaf5f629ba mdounin committed Mar 28, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 auto/unix
View
4 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

0 comments on commit 2d41bc2

Please sign in to comment.