mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-10 03:21:30 -10:00
The msg_hash string-table refactor made msg_hash_set_uint() call msg_hash_us_index_init() (from intl/msg_hash_us.c) under MSG_HASH_HAVE_STRTAB, which is enabled for every non-MSVC compiler. The database sample links msg_hash.o but deliberately stubs the intl layer (msg_hash_to_str_us, msg_hash_get_help_us_enum) rather than pulling in the ~1 MB of string tables, so the new call left an undefined reference at link time. Add a matching no-op stub for msg_hash_us_index_init. With msg_hash_to_str_us() already stubbed to return "", the string-table index is never consulted, so the empty body is correct and the sample still avoids intl/msg_hash_us.c.