fix: compile errors
This commit is contained in:
parent
4c48d05bd3
commit
acd87db992
|
@ -28,9 +28,9 @@ extern "C" {
|
|||
#define setlocale SETLOCALE_FUNC_TAOS_FORBID
|
||||
#endif
|
||||
|
||||
char *taosCharsetReplace(char *charsetstr);
|
||||
void taosGetSystemLocale(char *outLocale, char *outCharset);
|
||||
int32_t taosSetSystemLocale(const char *inLocale);
|
||||
char *taosCharsetReplace(char *charsetstr);
|
||||
void taosGetSystemLocale(char *outLocale, char *outCharset);
|
||||
int32_t taosSetSystemLocale(const char *inLocale);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
@ -84,9 +84,8 @@ TEST(osEnvTests, osSufficient) {
|
|||
ret = osTempSpaceSufficient();
|
||||
EXPECT_EQ(ret, true);
|
||||
|
||||
osSetSystemLocale(NULL, NULL);
|
||||
osSetSystemLocale(NULL, NULL);
|
||||
osSetSystemLocale("1", "2");
|
||||
taosSetSystemLocale(NULL);
|
||||
taosSetSystemLocale("1");
|
||||
|
||||
osSetProcPath(1, NULL);
|
||||
osSetProcPath(0, (char **)&ret);
|
||||
|
|
Loading…
Reference in New Issue