summaryrefslogtreecommitdiff
path: root/win32/file.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-08-27 04:01:37 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-08-27 04:01:37 (GMT)
commit262b10210fd597d467d88bdc0a2f3a1efdb80a53 (patch)
treefa238ae5c2459498d399425117b84d8a6b93777c /win32/file.h
parenta2da0f7e4295115680491abce9f6dc533db11f8a (diff)
win32.c: fchmod
* win32/win32.c (fchmod): implement by using SetFileInformationByHandle. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/file.h')
-rw-r--r--win32/file.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/file.h b/win32/file.h
index deebbfa..624707f 100644
--- a/win32/file.h
+++ b/win32/file.h
@@ -39,5 +39,7 @@ int rb_w32_read_reparse_point(const WCHAR *path, rb_w32_reparse_buffer_t *rp,
int lchown(const char *path, int owner, int group);
int rb_w32_ulchown(const char *path, int owner, int group);
+int fchmod(int fd, int mode);
+#define HAVE_FCHMOD 0
#endif /* RUBY_WIN32_FILE_H */