mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-25 12:46:13 +00:00
Remove the PLATFORM_RISCOS code.
This is from the old espeak RiscOS port that has been removed. If/when the espeak-ng program is ported to RiscOS, this will be done in a different, more maintainable way.
This commit is contained in:
@@ -341,14 +341,10 @@ static int initialise(void)
|
||||
// It seems that the wctype functions don't work until the locale has been set
|
||||
// to something other than the default "C". Then, not only Latin1 but also the
|
||||
// other characters give the correct results with iswalpha() etc.
|
||||
#ifdef PLATFORM_RISCOS
|
||||
setlocale(LC_CTYPE, "ISO8859-1");
|
||||
#else
|
||||
if (setlocale(LC_CTYPE, "en_US.UTF-8") == NULL) {
|
||||
if (setlocale(LC_CTYPE, "UTF-8") == NULL)
|
||||
setlocale(LC_CTYPE, "");
|
||||
}
|
||||
#endif
|
||||
|
||||
if ((result = LoadPhData(&srate)) != 1) {
|
||||
if (result == -1) {
|
||||
|
||||
Reference in New Issue
Block a user