summaryrefslogtreecommitdiff
path: root/include/ruby/win32.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-16 07:22:43 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-16 07:22:43 +0000
commitf2979f3101a0cb1467971ea3b4794c19c6b639dd (patch)
tree3d71a8b25c869ac5fc69a59baae1711ce2e7db92 /include/ruby/win32.h
parent72fffe5cee069d9f47a7a8dc808885aec67da225 (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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ruby/win32.h b/include/ruby/win32.h
index 302bf5e..1f96648 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*);