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:
Reece H. Dunn
2015-12-28 12:46:14 +00:00
parent e69c936329
commit 5bbc0d3743
5 changed files with 0 additions and 83 deletions
-4
View File
@@ -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) {