96 #if U_PLATFORM == U_PF_CLASSIC_MACOS
97 # define U_FILE_SEP_CHAR ':'
98 # define U_FILE_ALT_SEP_CHAR ':'
99 # define U_PATH_SEP_CHAR ';'
100 # define U_FILE_SEP_STRING ":"
101 # define U_FILE_ALT_SEP_STRING ":"
102 # define U_PATH_SEP_STRING ";"
103 #elif U_PLATFORM_USES_ONLY_WIN32_API
104 # define U_FILE_SEP_CHAR '\\'
105 # define U_FILE_ALT_SEP_CHAR '/'
106 # define U_PATH_SEP_CHAR ';'
107 # define U_FILE_SEP_STRING "\\"
108 # define U_FILE_ALT_SEP_STRING "/"
109 # define U_PATH_SEP_STRING ";"
111 # define U_FILE_SEP_CHAR '/'
112 # define U_FILE_ALT_SEP_CHAR '/'
113 # define U_PATH_SEP_CHAR ':'
114 # define U_FILE_SEP_STRING "/"
115 # define U_FILE_ALT_SEP_STRING "/"
116 # define U_PATH_SEP_STRING ":"
const char * u_getDataDirectory(void)
Platform utilities isolates the platform dependencies of the libarary.
void u_charsToUChars(const char *cs, UChar *us, int32_t length)
Convert char characters to UChar characters.
void u_UCharsToChars(const UChar *us, char *cs, int32_t length)
Convert UChar characters to char characters.
void u_setDataDirectory(const char *directory)
Set the ICU data directory.
uint16_t UChar
Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...
Basic definitions for ICU, for both C and C++ APIs.
#define U_STABLE
This is used to declare a function as a stable public ICU C API.