diff options
Diffstat (limited to 'win32/win32.h')
-rw-r--r-- | win32/win32.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/win32/win32.h b/win32/win32.h index 4ca3b299bc..5fe8703d4a 100644 --- a/win32/win32.h +++ b/win32/win32.h @@ -130,6 +130,11 @@ extern "C++" { #undef isatty #define isatty(h) rb_w32_isatty(h) +#undef mkdir +#define mkdir(p, m) rb_w32_mkdir(p, m) +#undef rmdir +#define rmdir(p) rb_w32_rmdir(p) + #ifdef __MINGW32__ struct timezone { int tz_minuteswest; @@ -190,6 +195,8 @@ extern int kill(int, int); extern int fcntl(int, int, ...); extern pid_t rb_w32_getpid(void); extern int rb_w32_isatty(int); +extern int rb_w32_mkdir(const char *, int); +extern int rb_w32_rmdir(const char *); #ifdef __BORLANDC__ extern int rb_w32_fstat(int, struct stat *); |