summaryrefslogtreecommitdiffstats
path: root/mkspecs/linux-kylix
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-06-12 12:50:07 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-06-12 12:50:07 +0200
commit1aa221a2bc0a5c2f13a8d95af76a755b3c731251 (patch)
treea7a3b607c4f4b90de4c3f802c748a9fad2364632 /mkspecs/linux-kylix
parent0e749567664176465c05497d2145a24c42f76829 (diff)
downloadtqt3-1aa221a2bc0a5c2f13a8d95af76a755b3c731251.tar.gz
tqt3-1aa221a2bc0a5c2f13a8d95af76a755b3c731251.zip
Change tests for glibc version.
It resolves building with libc libraries other than glibc - for example musl libc. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'mkspecs/linux-kylix')
-rw-r--r--mkspecs/linux-kylix/qplatformdefs.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/mkspecs/linux-kylix/qplatformdefs.h b/mkspecs/linux-kylix/qplatformdefs.h
index 3ac682c6b..951a476f8 100644
--- a/mkspecs/linux-kylix/qplatformdefs.h
+++ b/mkspecs/linux-kylix/qplatformdefs.h
@@ -77,11 +77,7 @@
#define QT_SIGNAL_ARGS int
#define QT_SIGNAL_IGNORE SIG_IGN
-#if defined(__GLIBC__) && (__GLIBC__ >= 2)
#define QT_SOCKLEN_T socklen_t
-#else
-#define QT_SOCKLEN_T int
-#endif
#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
#define QT_SNPRINTF ::snprintf