]> git.proxmox.com Git - qemu.git/commit
tests: Fix {rtc, m48t59}-test build on illumos
authorAndreas Färber <andreas.faerber@web.de>
Sat, 26 Jan 2013 14:27:59 +0000 (15:27 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 30 Jan 2013 10:18:38 +0000 (11:18 +0100)
commita05ddd9216b6c5e9c48eac3433ff6fa4a282fc17
tree76efb2953a0985a8a0f6fa399086f7f03d55053e
parent0b0878611c64f027ca5d15ba641f423cc04ead3f
tests: Fix {rtc, m48t59}-test build on illumos

Struct tm does not have tm_gmtoff field on illumos.
Fix the build by not zero-initializing these fields on Solaris.

Cc: qemu-stable@nongnu.org
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
tests/m48t59-test.c
tests/rtc-test.c