Code

configure.ac: added --disable-locale option
[ncmpc.git] / src / charset.h
index 4dfe13f3f19f28b490cf73cb8aeba9aa03886c5a..0999e8ef3d572d9edb463a23257ad7f98ee0fe5b 100644 (file)
@@ -25,7 +25,7 @@
 #include <stdbool.h>
 #include <stddef.h>
 
-#if defined(HAVE_LOCALE_H) && !defined(NCMPC_MINI)
+#ifdef ENABLE_LOCALE
 const char *
 charset_init(void);
 #endif