aboutsummaryrefslogtreecommitdiffstats
path: root/src/path.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-05-11 15:17:20 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-05-11 15:17:20 +0000
commit011757d89cd16f8f0277578e1c0bd87009f1d58b (patch)
tree8f1cd91364b3b2fea66d6c800afdd1678e1a33b7 /src/path.c
parent69cd6eacaf3d8879abcde3940a097b379df49fbd (diff)
downloadmpd-011757d89cd16f8f0277578e1c0bd87009f1d58b.tar.gz
mpd-011757d89cd16f8f0277578e1c0bd87009f1d58b.tar.xz
mpd-011757d89cd16f8f0277578e1c0bd87009f1d58b.zip
use AM_LANGINFO_CODESET in configure.ac, old configure.ac wasn't checking
for CODESET git-svn-id: https://svn.musicpd.org/mpd/trunk@990 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/path.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/path.c b/src/path.c
index f93894c7b..d7b08d6be 100644
--- a/src/path.c
+++ b/src/path.c
@@ -29,7 +29,7 @@
#include <unistd.h>
#ifdef HAVE_LOCALE
-#ifdef HAVE_LANGINFO
+#ifdef HAVE_LANGINFO_CODESET
#include <locale.h>
#include <langinfo.h>
#endif
@@ -138,7 +138,7 @@ void initPaths(char * playlistDirArg, char * musicDirArg) {
charset = strdup(getConf()[CONF_FS_CHARSET]);
}
#ifdef HAVE_LOCALE
-#ifdef HAVE_LANGINFO
+#ifdef HAVE_LANGINFO_CODESET
else if((originalLocale = setlocale(LC_CTYPE,NULL))) {
char * temp;
char * currentLocale;