mirror of
git://sigrok.org/libserialport
synced 2023-08-10 21:13:24 +03:00
configure.ac: MinGW build fix (setting WINVER=0x0501).
Without this the build fails with: windows.c:40:43: error: 'WC_NO_BEST_FIT_CHARS' undeclared (first use in this function)
This commit is contained in:
parent
5a8810e2b2
commit
9a8d04bca6
@ -95,6 +95,9 @@ mingw* | cygwin*)
|
||||
AM_CONDITIONAL([LINUX], false)
|
||||
AM_CONDITIONAL([WIN32], true)
|
||||
AM_CONDITIONAL([MACOSX], false)
|
||||
# Set WINVER to 0x0501 (corresponds to Windows XP), needed for some
|
||||
# defineѕ such as WC_NO_BEST_FIT_CHARS.
|
||||
CFLAGS="$CFLAGS -DWINVER=0x0501"
|
||||
SP_LIBS="-lsetupapi -luuid"
|
||||
;;
|
||||
*)
|
||||
|
Loading…
Reference in New Issue
Block a user