Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
C backend: Fix wstring literals when wstring is FB_DATATYPE_UBYTE but…
… gcc uses a 4-byte wchar_t This fixes wstrings on android, where I am using 1-byte wstring instead of 4-byte, to support older Android versions. This is only necessary because our wchar_t size on android doesn't match gcc's size. Which is the case because early versions of Android don't support wchar_t: all wchar_t functions in the standard library actually redirect to the 8-bit versions. Starting with Android 2.3 wchar_t became 32-bit even though widechar support is still partial, even today, and not standards compliant.
- Loading branch information