_WIN32_WINNT can be set different value from WINVER. But _WIN32_WINNT
and WINVER are used independantly in header files for determining which
API can be used for specified Windows version. So, it is better that
_WIN32_WINNT and WINVER has same value.
And if _WIN32_WINNT >= 0x0600 (Vista or newer) some APIs need ole32.
Change-Id: I6a1900e80327caad4dc0e7709dec3a1c981b7b0d
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
else
audio_drv_list=""
fi
+ LIBS="-lole32 $LIBS"
+ libs_qga="-lole32 $libs_qga"
;;
GNU/kFreeBSD)
bsd="yes"
# set WINVER
if test "$mingw32" = "yes" ; then
- QEMU_CFLAGS="-DWINVER=$winver $QEMU_CFLAGS"
+ QEMU_CFLAGS="-DWINVER=$winver -D_WIN32_WINNT=$winver $QEMU_CFLAGS"
fi
########################################