unicode: Turn on 32-bit unicode for targets with >2MB RAM

Change-Id: I199dc928fc9a88fa4bff7bdb3dc03bb212612f6f
This commit is contained in:
Solomon Peachy 2025-08-23 20:11:32 -04:00
parent d86240cf91
commit 6150e556fe

View file

@ -1461,7 +1461,11 @@ Lyre prototype 1 */
#error "HAVE_LCD_SLEEP_SETTING requires HAVE_LCD_SLEEP"
#endif
// XXX Figure out a better place to put this?
/* Support for unicode codepoints > U+FFFF */
#if (MEMORYSIZE > 2) && !defined(BOOTLOADER)
#define UNICODE32
#endif
#ifdef UNICODE32
#define ucschar_t unsigned int
#else