mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
* internal.h: Define TIMET_MAX and TIMET_MIN here.
* time.c: Remove TIMET_MAX and TIMET_MIN definitions. * thread.c: Ditto. * thread_pthread.c: Remove TIMET_MAX definition. * thread_win32.c: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9b3d6ad13a
commit
bfb0edbad2
6 changed files with 15 additions and 10 deletions
|
@ -376,8 +376,6 @@ typedef unsigned LONG_LONG unsigned_time_t;
|
|||
# error cannot find integer type which size is same as time_t.
|
||||
#endif
|
||||
|
||||
#define TIMET_MAX (~(time_t)0 <= 0 ? (time_t)((~(unsigned_time_t)0) >> 1) : (time_t)(~(unsigned_time_t)0))
|
||||
|
||||
static struct timespec
|
||||
native_cond_timeout(rb_thread_cond_t *cond, struct timespec timeout_rel)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue