projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix POSIX::tzset() as per Time::Piece::_tzset().
[p5sagit/p5-mst-13.2.git]
/
ext
/
Time-Piece
/
Piece.xs
diff --git
a/ext/Time-Piece/Piece.xs
b/ext/Time-Piece/Piece.xs
index
96fa934
..
772ed9c
100644
(file)
--- a/
ext/Time-Piece/Piece.xs
+++ b/
ext/Time-Piece/Piece.xs
@@
-161,6
+161,11
@@
fix_win32_tzenv(void)
#endif
+/*
+ * my_tzset - wrapper to tzset() with a fix to make it work (better) on Win32.
+ * This code is duplicated in the POSIX module, so any changes made here
+ * should be made there too.
+ */
static void
my_tzset(pTHX)
{