From f2979f3101a0cb1467971ea3b4794c19c6b639dd Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 16 Apr 2012 07:22:43 +0000 Subject: * 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 --- include/ruby/win32.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/ruby') 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*); -- cgit v1.2.3