summaryrefslogtreecommitdiff
path: root/lib/String.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/String.cc')
-rw-r--r--lib/String.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/String.cc b/lib/String.cc
index 08818eb..0b7b3e6 100644
--- a/lib/String.cc
+++ b/lib/String.cc
@@ -575,7 +575,7 @@ String String::trim() const {
String & String::iconv(const String & from, const String & _to) {
iconv_t cd;
String to = _to + "//TRANSLIT";
-#ifdef __linux__
+#if defined(__linux__) || defined(__APPLE__)
char * inbuf;
#else
const char * inbuf;