win32.c: symlink constants fallback
* win32/win32.c (rb_w32_wreadlink): define symlink constants for VC6. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
42e36319bd
commit
613d97c525
@ -4647,6 +4647,17 @@ link(const char *from, const char *to)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* License: Public Domain, copied from mingw headers */
|
||||||
|
#ifndef FILE_DEVICE_FILE_SYSTEM
|
||||||
|
# define FILE_DEVICE_FILE_SYSTEM 0x00000009
|
||||||
|
#endif
|
||||||
|
#ifndef FSCTL_GET_REPARSE_POINT
|
||||||
|
# define FSCTL_GET_REPARSE_POINT ((0x9<<16)|(42<<2))
|
||||||
|
#endif
|
||||||
|
#ifndef IO_REPARSE_TAG_SYMLINK
|
||||||
|
# define IO_REPARSE_TAG_SYMLINK 0xA000000CL
|
||||||
|
#endif
|
||||||
|
|
||||||
/* License: Ruby's */
|
/* License: Ruby's */
|
||||||
ssize_t
|
ssize_t
|
||||||
rb_w32_wreadlink(const WCHAR *path, WCHAR *buf, size_t bufsize)
|
rb_w32_wreadlink(const WCHAR *path, WCHAR *buf, size_t bufsize)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user