diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-16 07:22:43 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-16 07:22:43 +0000 |
commit | f2979f3101a0cb1467971ea3b4794c19c6b639dd (patch) | |
tree | 3d71a8b25c869ac5fc69a59baae1711ce2e7db92 /include/ruby/win32.h | |
parent | 72fffe5cee069d9f47a7a8dc808885aec67da225 (diff) |
* win32/win32.c (gmtime_r, localtime_r): POSIX compliant reentrant
versions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/win32.h')
-rw-r--r-- | include/ruby/win32.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ruby/win32.h b/include/ruby/win32.h index 302bf5e8cf..1f966484b8 100644 --- a/include/ruby/win32.h +++ b/include/ruby/win32.h @@ -690,6 +690,9 @@ struct tms { int rb_w32_times(struct tms *); +struct tm *gmtime_r(const time_t *, struct tm *); +struct tm *localtime_r(const time_t *, struct tm *); + /* thread stuff */ int rb_w32_sleep(unsigned long msec); int rb_w32_putc(int, FILE*); |