summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-18 05:50:45 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-18 05:50:45 +0000
commitab649ef3c4847e98d1712a7bd77ed3bd9ac44681 (patch)
tree5e18a126cddddc00db562b3c661d2f08de550f5c /win32
parentff19b1d81e330b8212d61288712e8cd436dd2990 (diff)
* win32/file.c (INVALID_FILE_ATTRIBUTES): commit miss of r35384.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r--win32/file.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/win32/file.c b/win32/file.c
index 13325a3d08..955f91bc67 100644
--- a/win32/file.c
+++ b/win32/file.c
@@ -1,6 +1,10 @@
#include "ruby/ruby.h"
#include <winbase.h>
+#ifndef INVALID_FILE_ATTRIBUTES
+# define INVALID_FILE_ATTRIBUTES ((DWORD)-1)
+#endif
+
int
rb_file_load_ok(const char *path)
{