check in configure script if iconv() needs CONST

git-svn-id: https://svn.musicpd.org/mpd/trunk@1523 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes
2004-06-17 15:32:34 +00:00
parent cbc2825a33
commit 4ab66ad1b7
3 changed files with 22 additions and 2 deletions

View File

@@ -83,7 +83,7 @@ int setCharSetConversion(char * to, char * from) {
return -1;
}
char * convStrDup(char * string) {
char * convStrDup(ICONV_CONST char * string) {
if(!char_conv_to) return NULL;
if(char_conv_same) return strdup(string);

View File

@@ -23,7 +23,7 @@
int setCharSetConversion(char * to, char * from);
char * convStrDup(char * string);
char * convStrDup(ICONV_CONST char * string);
void closeCharSetConversion();