ruby-changes:48897
From: nobu <ko1@a...>
Date: Mon, 4 Dec 2017 21:49:26 +0900 (JST)
Subject: [ruby-changes:48897] nobu:r61015 (trunk): win32.c: fix error on mingw
nobu 2017-12-04 21:49:20 +0900 (Mon, 04 Dec 2017) New Revision: 61015 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61015 Log: win32.c: fix error on mingw * win32/win32.c (FILE_ID_128): defined on mingw already. Modified files: trunk/win32/win32.c Index: win32/win32.c =================================================================== --- win32/win32.c (revision 61014) +++ win32/win32.c (revision 61015) @@ -7983,7 +7983,7 @@ rb_w32_pow(double x, double y) https://github.com/ruby/ruby/blob/trunk/win32/win32.c#L7983 } #endif -#ifndef FILE_INVALID_FILE_ID +#if !defined FILE_INVALID_FILE_ID && !defined __MINGW32__ typedef struct { BYTE Identifier[16]; } FILE_ID_128; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/