Don't define decode_locale() nor encode_locale() on macOS or Android.
}
#endif
+#if !defined(__APPLE__) && !defined(__ANDROID__)
static wchar_t*
decode_locale(const char* arg, size_t *size)
{
}
return NULL;
}
+#endif
/* Decode a byte string from the locale encoding with the
return cpath;
}
+#if !defined(__APPLE__) && !defined(__ANDROID__)
static char*
encode_locale(const wchar_t *text, size_t *error_pos)
{
}
return result;
}
+#endif
/* Encode a wide character string to the locale encoding with the
surrogateescape error handler: surrogate characters in the range