win32.c: NET_LUID

* configure.in: check for NET_LUID.  header macro varies across
  complier versions.
* win32/win32.c: use configured macro.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2013-06-08 05:17:04 +00:00
parent 6b5be413bb
commit 5713c59531
3 changed files with 11 additions and 165 deletions

View file

@ -3763,7 +3763,7 @@ str2guid(const char *str, GUID *guid)
}
/* License: Ruby's */
#if !defined(_IFDEF_) && !defined(__MINGW64__)
#ifndef HAVE_TYPE_NET_LUID
typedef struct {
uint64_t Value;
struct {