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.31@22710 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
manxorist committed Jan 2, 2025
1 parent f04eb69 commit a198a2a
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 @@ -106,7 +106,7 @@ AS_CASE([$host_os],
LIBOPENMPT_LIBS_PRIVATE_WIN32=
LIBOPENMPTTEST_WIN32_LIBS="-lole32 -lrpcrt4"
OPENMPT123_WIN32_LIBS=-lwinmm
WIN32_CPPFLAGS="-DNOMINMAX"
WIN32_CPPFLAGS="-D_UNICODE -DNOMINMAX"
WIN32_CXXFLAGS="-municode -mthreads"
WIN32_CFLAGS="-municode -mthreads"
WIN32_CONSOLE_CXXFLAGS=-mconsole
Expand Down

0 comments on commit a198a2a

Please sign in to comment.