From: <sv...@op...> - 2024-12-30 16:24:11
|
Author: manx Date: Mon Dec 30 17:24:03 2024 New Revision: 22641 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=22641 Log: [Mod] build: mpg123: Enable Unicode support only for UNICODE MSVC builds. [Imp] build: mpg123: Enable Unicode support also for UNICODE Makefile builds. Modified: trunk/OpenMPT/include/mpg123/ports/MSVC++/config.h trunk/OpenMPT/include/mpg123/ports/makefile/config.h Modified: trunk/OpenMPT/include/mpg123/ports/MSVC++/config.h ============================================================================== --- trunk/OpenMPT/include/mpg123/ports/MSVC++/config.h Mon Dec 30 17:21:32 2024 (r22640) +++ trunk/OpenMPT/include/mpg123/ports/MSVC++/config.h Mon Dec 30 17:24:03 2024 (r22641) @@ -80,4 +80,8 @@ /* Platform */ /* use the unicode support within libmpg123 */ +#if defined(_WIN32) +#if defined(UNICODE) #define WANT_WIN32_UNICODE 1 +#endif +#endif Modified: trunk/OpenMPT/include/mpg123/ports/makefile/config.h ============================================================================== --- trunk/OpenMPT/include/mpg123/ports/makefile/config.h Mon Dec 30 17:21:32 2024 (r22640) +++ trunk/OpenMPT/include/mpg123/ports/makefile/config.h Mon Dec 30 17:24:03 2024 (r22641) @@ -91,3 +91,10 @@ #define ACCURATE_ROUNDING 1 /* Platform */ + +/* use the unicode support within libmpg123 */ +#if defined(_WIN32) +#if defined(UNICODE) +#define WANT_WIN32_UNICODE 1 +#endif +#endif |