Fix build errors

This commit is contained in:
KevinDuan 2022-06-08 10:11:51 +08:00
parent 755c69dbfc
commit 7464681bfe
2 changed files with 2 additions and 2 deletions

View File

@ -2414,7 +2414,7 @@ int main()
pid_file);
}
setlocale (LC_ALL, "");
setlocale (P_ALL, "");
bindtextdomain(DOMAIN_NAME, LOCALEDIR);
textdomain(DOMAIN_NAME);

View File

@ -256,7 +256,7 @@ int main (int argc, char *argv[])
GError *error = NULL;
int ret;
setlocale (LC_ALL, "");
setlocale (P_ALL, "");
bindtextdomain (DOMAIN_NAME, LOCALEDIR);
textdomain (DOMAIN_NAME);