Skip to content

Commit

Permalink
[Fix] build: Autotools: MinGW: MinGW does not define _UNICODE in its …
Browse files Browse the repository at this point in the history
…CRT headers when UNICODE is defined, like Microsoft does. #define _UNICODE manually when passing -municode.

git-svn-id: https://source.openmpt.org/svn/openmpt/trunk/OpenMPT@22708 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
manxorist committed Jan 2, 2025
1 parent b944ab0 commit 011e85b
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 @@ -111,7 +111,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 011e85b

Please sign in to comment.