]> git.saurik.com Git - wxWidgets.git/commit - src/common/time.cpp
Call tzset() for all compilers before using time zone variable.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 13 Jan 2012 11:36:33 +0000 (11:36 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 13 Jan 2012 11:36:33 +0000 (11:36 +0000)
commit8c7114c22789e573bbf91dc5bf28f554631b78f8
treef06623db816ce4c7876d0b950fb0106f2fdf13cd
parentb98b75cddfbdc690b35c37601e4f7ee341bb92b8
Call tzset() for all compilers before using time zone variable.

Changes of r66245 shouldn't have been specific to MSVC, we must call tzset()
when using any other compiler as well, otherwise time zone information can be
initially incorrect.

Closes #13862.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/time.cpp