From 6e4cfd9475e4287df2e9cd5bfdad6bd82aaaacd6 Mon Sep 17 00:00:00 2001 From: naruse Date: Wed, 5 Jun 2013 15:32:28 +0000 Subject: [PATCH] * win32/win32.c (NET_LUID): define it on MinGW32. mingw-w64 has NET_LUID but mingw32 (mingw.org) still doesn't have NET_LUID. reported by taco on IRC git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 6 ++++++ win32/win32.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6700e1f6f0..e85b40b4d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Thu Jun 6 00:30:04 2013 NARUSE, Yui + + * win32/win32.c (NET_LUID): define it on MinGW32. + mingw-w64 has NET_LUID but mingw32 (mingw.org) still doesn't have + NET_LUID. reported by taco on IRC + Thu Jun 6 00:05:08 2013 Akinori MUSHA * string.c (String#b): Allow code range scan to happen later so diff --git a/win32/win32.c b/win32/win32.c index b7eb4c62f2..25d94ff429 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -3763,7 +3763,7 @@ str2guid(const char *str, GUID *guid) } /* License: Ruby's */ -#if !defined(_IFDEF_) && !defined(__MINGW32__) +#if !defined(_IFDEF_) && !defined(__MINGW64__) typedef struct { uint64_t Value; struct {