]> git.saurik.com Git - wxWidgets.git/commit
Use _get_timezone() function instead of _timezone with MSVC8+.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 2 Nov 2010 11:57:30 +0000 (11:57 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 2 Nov 2010 11:57:30 +0000 (11:57 +0000)
commit7e9c57542f80717be57dfb1ea51b050c902ebfa2
tree8ad0c075902eed1856fe6187c3a355b9b8872a20
parent3fee3116ddb5c4ce3bd87731b92b1c6d22b4ae15
Use _get_timezone() function instead of _timezone with MSVC8+.

While some (but not all) versions of VC8 CRT still define _timezone variable,
it is deprecated and shouldn't be used and referencing it can result in
linking problems if it pulls in static CRT.

Just use _get_timezone() function instead for the VC versions that support it
(as was already done in r54417 for VC8 in 2.8 branch).

Closes #4691.

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