aboutsummaryrefslogtreecommitdiffstats
path: root/main/newsboat/musl_const.patch
blob: 19046387e3cb370691903d2e0be131e364a481ee (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/utils.cpp
+++ b/src/utils.cpp
@@ -346,7 +346,7 @@
 	 * of all the Unix-like systems around there, only Linux/glibc seems to
 	 * come with a SuSv3-conforming iconv implementation.
 	 */
-#if !(__linux) && !defined(__GLIBC__) && !defined(__APPLE__) \
+#if !(__linux__) && !defined(__GLIBC__) && !defined(__APPLE__) \
 	&& !defined(__OpenBSD__) && !defined(__FreeBSD__) && !defined(__DragonFly__)
 	const char * inbufp;
 #else