summaryrefslogtreecommitdiff
path: root/win32/win32.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-04 12:49:20 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-04 12:49:20 (GMT)
commit5a8a2706d33849cf42cd56714f519108a4ededfc (patch)
tree326511fece689ff46ec3faaba8e946c0d88eb312 /win32/win32.c
parent378f0280778ede91fe13a3389fdf74f7d6cfa1ab (diff)
win32.c: fix error on mingw
* win32/win32.c (FILE_ID_128): defined on mingw already. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/win32.c')
-rw-r--r--win32/win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c
index 0e6d8e5..f88d911 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -7983,7 +7983,7 @@ rb_w32_pow(double x, double y)
}
#endif
-#ifndef FILE_INVALID_FILE_ID
+#if !defined FILE_INVALID_FILE_ID && !defined __MINGW32__
typedef struct {
BYTE Identifier[16];
} FILE_ID_128;