From 604a1e2e22b1e8a841a6d3f6d0c870eb504306f3 Mon Sep 17 00:00:00 2001 From: kosaki Date: Fri, 6 May 2011 17:50:23 +0000 Subject: fix win32 compile error. * thread_win32.c (RB_CONDATTR_CLOCK_MONOTONIC): define RB_CONDATTR_CLOCK_MONOTONIC always. * thread_pthread.c (RB_CONDATTR_CLOCK_MONOTONIC): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread_win32.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'thread_win32.c') diff --git a/thread_win32.c b/thread_win32.c index 62f78fd850..0288e772a1 100644 --- a/thread_win32.c +++ b/thread_win32.c @@ -14,6 +14,8 @@ #include #define WIN32_WAIT_TIMEOUT 10 /* 10 ms */ +#define RB_CONDATTR_CLOCK_MONOTONIC 1 /* no effect */ + #undef Sleep #define native_thread_yield() Sleep(0) -- cgit v1.2.3