diff options
Diffstat (limited to 'thread_win32.c')
-rw-r--r-- | thread_win32.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/thread_win32.c b/thread_win32.c index 29700c84f4..0128f6323c 100644 --- a/thread_win32.c +++ b/thread_win32.c @@ -506,16 +506,6 @@ native_cond_timedwait(rb_thread_cond_t *cond, rb_thread_lock_t *mutex, struct ti return native_cond_timedwait_ms(cond, mutex, timeout_ms); } -#if SIZEOF_TIME_T == SIZEOF_LONG -typedef unsigned long unsigned_time_t; -#elif SIZEOF_TIME_T == SIZEOF_INT -typedef unsigned int unsigned_time_t; -#elif SIZEOF_TIME_T == SIZEOF_LONG_LONG -typedef unsigned LONG_LONG unsigned_time_t; -#else -# error cannot find integer type which size is same as time_t. -#endif - static struct timespec native_cond_timeout(rb_thread_cond_t *cond, struct timespec timeout_rel) { |