summaryrefslogtreecommitdiffstats
path: root/mkspecs/linux-g++-sparc/qplatformdefs.h
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2019-06-12 15:41:30 +0200
committerSlávek Banko <[email protected]>2019-06-12 15:41:30 +0200
commitedad20d4f9ef3de0b91c163361803f12fc7212bc (patch)
tree3efb8cacc4ec9dc76ec4f3430b8bf8f3e5113dc1 /mkspecs/linux-g++-sparc/qplatformdefs.h
parent934bc28242d329b8be70fbd5497421086083a028 (diff)
downloadqt3-edad20d4f9ef3de0b91c163361803f12fc7212bc.tar.gz
qt3-edad20d4f9ef3de0b91c163361803f12fc7212bc.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 <[email protected]>
Diffstat (limited to 'mkspecs/linux-g++-sparc/qplatformdefs.h')
-rw-r--r--mkspecs/linux-g++-sparc/qplatformdefs.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/mkspecs/linux-g++-sparc/qplatformdefs.h b/mkspecs/linux-g++-sparc/qplatformdefs.h
index 15bb469..176e504 100644
--- a/mkspecs/linux-g++-sparc/qplatformdefs.h
+++ b/mkspecs/linux-g++-sparc/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