Fix intptr_t check in configure.ac

This commit is contained in:
Tatsuhiro Tsujikawa 2012-08-21 21:11:53 +09:00
parent dabe39dd1d
commit 558e27ac9e
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
]],
[[
struct kevent event;
event.udata = (intptr_t*)(&event);
event.udata = (intptr_t)(&event);
]])],
[kevent_udata_intptr_t=yes], [kevent_udata_intptr_t=no])
AC_MSG_RESULT([$kevent_udata_intptr_t])