aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/path.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/path.c b/src/path.c
index d475d356b..a7f143dc7 100644
--- a/src/path.c
+++ b/src/path.c
@@ -24,8 +24,8 @@
#include <stdlib.h>
#include <string.h>
-#ifdef HAVE_LC_MESSAGES
-#ifdef HAVE_LANGINFO_CODESET
+#ifdef HAVE_LOCALE
+#ifdef HAVE_LANGINFO
#include <locale.h>
#include <langinfo.h>
#endif
@@ -87,8 +87,8 @@ char * getFsCharset() {
}
void initPaths() {
-#ifdef HAVE_LC_MESSAGES
-#ifdef HAVE_LANGINFO_CODESET
+#ifdef HAVE_LOCALE
+#ifdef HAVE_LANGINFO
char * originalLocale;
#endif
#endif
@@ -97,8 +97,8 @@ void initPaths() {
if(getConf()[CONF_FS_CHARSET]) {
charset = strdup(getConf()[CONF_FS_CHARSET]);
}
-#ifdef HAVE_LC_MESSAGES
-#ifdef HAVE_LANGINFO_CODESET
+#ifdef HAVE_LOCALE
+#ifdef HAVE_LANGINFO
else if((originalLocale = setlocale(LC_ALL,""))) {
char * temp;