summaryrefslogtreecommitdiffstats
path: root/mkspecs/linux-kcc
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-06-12 15:41:30 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-06-12 15:42:08 +0200
commit46d5b162eebb0a614274ba160f51d602c3565fd8 (patch)
treed543f4692fa5dcd16725d055b08c4112f9a7d7f3 /mkspecs/linux-kcc
parent3c5f0f8856cb1bdd6223206428bae65a04a8b144 (diff)
downloadqt3-46d5b162eebb0a614274ba160f51d602c3565fd8.tar.gz
qt3-46d5b162eebb0a614274ba160f51d602c3565fd8.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> (cherry picked from commit edad20d4f9ef3de0b91c163361803f12fc7212bc)
Diffstat (limited to 'mkspecs/linux-kcc')
-rw-r--r--mkspecs/linux-kcc/qplatformdefs.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/mkspecs/linux-kcc/qplatformdefs.h b/mkspecs/linux-kcc/qplatformdefs.h
index 9df75e3..619e547 100644
--- a/mkspecs/linux-kcc/qplatformdefs.h
+++ b/mkspecs/linux-kcc/qplatformdefs.h
@@ -94,11 +94,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