summaryrefslogtreecommitdiff
path: root/src/utils.cpp
diff options
context:
space:
mode:
authorGravatar Andreas Krennmair <ak@synflood.at> 2009-08-26 09:39:02 +0200
committerGravatar Andreas Krennmair <ak@synflood.at> 2009-08-26 09:39:02 +0200
commitb0dafa45707896f85ff3e406672f7eb120b0b755 (patch)
treea3fca1b239571abfb466731111322a1b667846ad /src/utils.cpp
parent09830cc7d824e18541ee95130b331136c2fc4c59 (diff)
downloadnewsboat-b0dafa45707896f85ff3e406672f7eb120b0b755.tar.gz
newsboat-b0dafa45707896f85ff3e406672f7eb120b0b755.tar.zst
newsboat-b0dafa45707896f85ff3e406672f7eb120b0b755.zip
integrated tweaks to make newsbeuter build on GNU/kFreeBSD (fixes Debian issue #543591).
Diffstat (limited to '')
-rw-r--r--src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.cpp b/src/utils.cpp
index 6c85d5d1..305835e8 100644
--- a/src/utils.cpp
+++ b/src/utils.cpp
@@ -261,7 +261,7 @@ std::string utils::convert_text(const std::string& text, const std::string& toco
* of all the Unix-like systems around there, only Linux/glibc seems to
* come with a SuSv3-conforming iconv implementation.
*/
-#ifndef __linux
+#if !(__linux) && !defined(__GLIBC__)
const char * inbufp;
#else
char * inbufp;