Skip to content

Commit

Permalink
Merged revision(s) 22708 from trunk/OpenMPT:
Browse files Browse the repository at this point in the history
[Fix] build: Autotools: MinGW: MinGW does not define _UNICODE in its CRT headers when UNICODE is defined, like Microsoft does. #define _UNICODE manually when passing -municode.
........


git-svn-id: https://source.openmpt.org/svn/openmpt/branches/OpenMPT-1.30@22712 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
manxorist committed Jan 2, 2025
1 parent 6c38e6f commit 913169f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/autotools/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ case $host_os in
LIBOPENMPT_WIN32_LIBS="-lole32 -lrpcrt4"
LIBOPENMPT_LIBS_PRIVATE_WIN32="-lole32 -lrpcrt4"
OPENMPT123_WIN32_LIBS=-lwinmm
WIN32_CPPFLAGS=
WIN32_CPPFLAGS="-D_UNICODE"
WIN32_CXXFLAGS="-municode -mthreads"
WIN32_CFLAGS="-municode -mthreads"
WIN32_CONSOLE_CXXFLAGS=-mconsole
Expand Down

0 comments on commit 913169f

Please sign in to comment.