1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* include/ruby/win32.h (CLOCK_MONOTONIC): typo.

* win32/win32.c: removed duplicated declarations.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2013-08-19 04:29:41 +00:00
parent a3b4296369
commit 5a096eddb3
3 changed files with 7 additions and 4 deletions

View file

@ -1,3 +1,9 @@
Mon Aug 19 13:28:47 2013 NAKAMURA Usaku <usa@ruby-lang.org>
* include/ruby/win32.h (CLOCK_MONOTONIC): typo.
* win32/win32.c: removed duplicated declarations.
Mon Aug 19 13:03:08 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (clock_gettime): should not overwrite cache variable

View file

@ -126,7 +126,7 @@ typedef unsigned int uintptr_t;
typedef int clockid_t;
#define CLOCK_REALTIME 0
#define CLOCK_MONOTINIC 1
#define CLOCK_MONOTONIC 1
#undef getc
#undef putc

View file

@ -4310,9 +4310,6 @@ gettimeofday(struct timeval *tv, struct timezone *tz)
}
/* License: Ruby's */
typedef int clockid_t;
#define CLOCK_REALTIME 0
#define CLOCK_MONOTONIC 1
int
clock_gettime(clockid_t clock_id, struct timespec *sp)
{