From b4c5fad4b1b435f081dd552ad29040a9edb1457f Mon Sep 17 00:00:00 2001 From: kosaki Date: Fri, 29 Apr 2011 04:18:29 +0000 Subject: * 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 --- include/ruby/win32.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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 *); -- cgit v1.2.3