]> granicus.if.org Git - libevent/commit
fix compile error in VS2012 in evutil_gettimeofday()
authorMKCKR <26296627+mkckr0@users.noreply.github.com>
Tue, 16 Feb 2021 05:26:44 +0000 (13:26 +0800)
committerAzat Khuzhin <azat@libevent.org>
Tue, 16 Feb 2021 22:11:07 +0000 (01:11 +0300)
commit00b92f42b69af29a820b46049fd00be9cd3fb7d4
tree4ef5473b74d513e52030237c78016728f110849d
parentd13b7bbfcf04041f79952c47ae36f2b83e25374a
fix compile error in VS2012 in evutil_gettimeofday()

Move static variable definition before other statement, to prevent
compile error in VS2012.

Fixes: #1135
evutil_time.c