mirror of
https://github.com/pbatard/rufus.git
synced 2025-06-05 09:13:47 -04:00
[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:
parent
b565405c80
commit
09d24551b8
3 changed files with 10 additions and 10 deletions
|
@ -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])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue