ruby-changes:36907
From: nobu <ko1@a...>
Date: Thu, 25 Dec 2014 13:59:34 +0900 (JST)
Subject: [ruby-changes:36907] nobu:r48988 (trunk): configure.in: workaround of mingw-w64
nobu 2014-12-25 13:59:20 +0900 (Thu, 25 Dec 2014) New Revision: 48988 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48988 Log: configure.in: workaround of mingw-w64 * configure.in (NET_LUID): include also ifdef.h as a workaround of a bug in mingw-w64 header. [ruby-core:67103] [Bug #10640] Modified files: trunk/ChangeLog trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 48987) +++ configure.in (revision 48988) @@ -1103,6 +1103,7 @@ main() https://github.com/ruby/ruby/blob/trunk/configure.in#L1103 { test "$target_cpu" = x64 && ac_cv_func___builtin_setjmp=no; } AC_CHECK_TYPE([NET_LUID], [], [], [@%:@include <windows.h> + @%:@include <ifdef.h> @%:@include <iphlpapi.h>]) if test x"$ac_cv_type_NET_LUID" = xyes; then AC_DEFINE(HAVE_TYPE_NET_LUID, 1) Index: ChangeLog =================================================================== --- ChangeLog (revision 48987) +++ ChangeLog (revision 48988) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Thu Dec 25 13:59:17 2014 Nobuyoshi Nakada <nobu@r...> + + * configure.in (NET_LUID): include also ifdef.h as a workaround of + a bug in mingw-w64 header. [ruby-core:67103] [Bug #10640] + Thu Dec 25 12:47:44 2014 Nobuyoshi Nakada <nobu@r...> * parse.y (gettable_gen): warn possible reference to a local -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/