diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-18 05:50:45 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-18 05:50:45 +0000 |
commit | ab649ef3c4847e98d1712a7bd77ed3bd9ac44681 (patch) | |
tree | 5e18a126cddddc00db562b3c661d2f08de550f5c /win32 | |
parent | ff19b1d81e330b8212d61288712e8cd436dd2990 (diff) | |
download | ruby-ab649ef3c4847e98d1712a7bd77ed3bd9ac44681.tar.gz |
* 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.c | 4 |
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) { |