[misc] fix Unicode support for MinGW

* Looks like GetWindowTextW/GetWindowTextU were set to fail in release
  versions due to UNICODE not being enabled... Dammit!
This commit is contained in:
Pete Batard 2015-02-08 00:34:22 +00:00
parent b565405c80
commit 09d24551b8
3 changed files with 10 additions and 10 deletions

View file

@ -54,7 +54,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])],
[nopointersign_cflags="-Wno-pointer-sign"], [nopointersign_cflags=""])
CFLAGS="${saved_CFLAGS}"
AM_CFLAGS="$AM_CFLAGS -std=gnu99 -Wshadow -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration $nopointersign_cflags"
AM_CFLAGS="$AM_CFLAGS -DUNICODE -D_UNICODE -std=gnu99 -Wshadow -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration $nopointersign_cflags"
AC_SUBST([VISIBILITY_CFLAGS])
AC_SUBST([AM_CFLAGS])