mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
Use the ucd-tools toupper/tolower APIs instead of the Android versions.
This commit is contained in:
@@ -23,6 +23,7 @@ BLACKLIST_SRC_FILES := \
|
||||
ESPEAK_SRC_PATH := ../../src
|
||||
|
||||
ESPEAK_SRC_FILES := \
|
||||
$(LOCAL_PATH)/../../../ucd-tools/src/case.cpp \
|
||||
$(LOCAL_PATH)/../../../ucd-tools/src/categories.cpp \
|
||||
$(LOCAL_PATH)/../../../ucd-tools/src/ctype.cpp \
|
||||
$(subst $(LOCAL_PATH)/$(ESPEAK_SRC_PATH),$(ESPEAK_SRC_PATH),$(wildcard $(LOCAL_PATH)/$(ESPEAK_SRC_PATH)/*.c*))
|
||||
|
||||
@@ -36,5 +36,8 @@
|
||||
#define iswspace(c) ucd::isspace(c)
|
||||
#define iswupper(c) ucd::isupper(c)
|
||||
|
||||
#define towlower(c) ucd::tolower(c)
|
||||
#define towupper(c) ucd::toupper(c)
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+1
-1
Submodule ucd-tools updated: e3e85d33f2...9c3a87dbeb
Reference in New Issue
Block a user