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:
parent
a3b4296369
commit
5a096eddb3
3 changed files with 7 additions and 4 deletions
|
@ -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>
|
Mon Aug 19 13:03:08 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* configure.in (clock_gettime): should not overwrite cache variable
|
* configure.in (clock_gettime): should not overwrite cache variable
|
||||||
|
|
|
@ -126,7 +126,7 @@ typedef unsigned int uintptr_t;
|
||||||
|
|
||||||
typedef int clockid_t;
|
typedef int clockid_t;
|
||||||
#define CLOCK_REALTIME 0
|
#define CLOCK_REALTIME 0
|
||||||
#define CLOCK_MONOTINIC 1
|
#define CLOCK_MONOTONIC 1
|
||||||
|
|
||||||
#undef getc
|
#undef getc
|
||||||
#undef putc
|
#undef putc
|
||||||
|
|
|
@ -4310,9 +4310,6 @@ gettimeofday(struct timeval *tv, struct timezone *tz)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* License: Ruby's */
|
/* License: Ruby's */
|
||||||
typedef int clockid_t;
|
|
||||||
#define CLOCK_REALTIME 0
|
|
||||||
#define CLOCK_MONOTONIC 1
|
|
||||||
int
|
int
|
||||||
clock_gettime(clockid_t clock_id, struct timespec *sp)
|
clock_gettime(clockid_t clock_id, struct timespec *sp)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue