summaryrefslogtreecommitdiff
path: root/include/ruby/win32.h
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-04-29 04:18:29 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-04-29 04:18:29 +0000
commitb4c5fad4b1b435f081dd552ad29040a9edb1457f (patch)
treed594c9bb0ca0953baa3283eb789759c7d8db21c3 /include/ruby/win32.h
parent9d4ae4ab0c5b17e48939457bc9d4cf45ac412d26 (diff)
* thread_win32.c (native_cond_timedwait): New. r31373 caused
win32 build failure. * thread_win32.c (__cond_timedwait, abs_timespec_to_timeout_ms): New helper functions. * win32/win32.c (rb_w32_time_subtract): rename from subtract and remove static. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/win32.h')
-rw-r--r--include/ruby/win32.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/win32.h b/include/ruby/win32.h
index 59bc46c261..99a2d2b1d4 100644
--- a/include/ruby/win32.h
+++ b/include/ruby/win32.h
@@ -303,6 +303,7 @@ extern int rb_w32_stati64(const char *, struct stati64 *);
extern int rb_w32_ustati64(const char *, struct stati64 *);
extern int rb_w32_access(const char *, int);
extern int rb_w32_uaccess(const char *, int);
+extern int rb_w32_subtract(struct timeval *rest, const struct timeval *wait);
#ifdef __BORLANDC__
extern int rb_w32_fstati64(int, struct stati64 *);