diff src/win32/libc_interface.h @ 5113:bac62d8d386f

[gaim-migrate @ 5476] Added localtime_r committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Sat, 12 Apr 2003 00:10:45 +0000
parents a96653493416
children 9657e243d001
line wrap: on
line diff
--- a/src/win32/libc_interface.h	Fri Apr 11 21:23:02 2003 +0000
+++ b/src/win32/libc_interface.h	Sat Apr 12 00:10:45 2003 +0000
@@ -93,4 +93,9 @@
 #define mkdir(a,b) _mkdir((a))
 #define fchmod(a,b)
 
+/* time.h */
+extern struct tm *wgaim_localtime_r(const time_t *time, struct tm *resultp);
+#define localtime_r( time, resultp ) \
+wgaim_localtime_r( ## time ##, ## resultp ## )
+
 #endif /* _LIBC_INTERFACE_H_ */