aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/kodi-platform/check-for-glibc.patch
blob: 76c03840c22a47a033392e00ce9ca794e31d4da4 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/posix/serialport.cpp.orig
+++ b/src/posix/serialport.cpp
@@ -37,7 +37,7 @@
 #include "../util/baudrate.h"
 #include "../posix/os-socket.h"
 
-#if defined(__APPLE__) || defined(__FreeBSD__)
+#ifndef __GLIBC__
 #ifndef XCASE
 #define XCASE	0
 #endif