summaryrefslogtreecommitdiff
path: root/win32/win32.h
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-08-09 04:26:06 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-08-09 04:26:06 +0000
commita3edeb5fec3dfb064a1745881f5c5ec68e2abc92 (patch)
tree8203ce8ed2cc35bcfd59157fb953bd8681e3bd45 /win32/win32.h
parentbc90f95def78c5c24ea605b825c5a4ee27b0ed74 (diff)
eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/win32.h')
-rw-r--r--win32/win32.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/win32/win32.h b/win32/win32.h
index add6f142500..9e6e1534893 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -207,6 +207,7 @@ extern struct protoent * mygetprotobynumber(int);
extern struct servent * mygetservbyname(char *, char *);
extern struct servent * mygetservbyport(int, char *);
extern char *win32_getenv(const char *);
+extern int myrename(const char *, const char *);
extern int chown(const char *, int, int);
extern int link(char *, char *);
@@ -408,4 +409,9 @@ extern char *mystrerror(int);
#endif
#define getenv win32_getenv
+#ifdef rename
+#undef rename
+#endif
+#define rename myrename
+
#endif