diff options
author | Slávek Banko <[email protected]> | 2019-06-12 12:50:07 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2019-06-12 15:39:56 +0200 |
commit | d6375a54e2945d494df5ad38ca98cbc8b4d901e7 (patch) | |
tree | 078c3bb4a82905e8bcda0409b714a73285e9f181 /mkspecs/linux-kcc/qplatformdefs.h | |
parent | 6e7a186f1e5bbd7e4b5e9150a422f4bc523efb7f (diff) | |
download | tqt3-d6375a54e2945d494df5ad38ca98cbc8b4d901e7.tar.gz tqt3-d6375a54e2945d494df5ad38ca98cbc8b4d901e7.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]>
(cherry picked from commit 1aa221a2bc0a5c2f13a8d95af76a755b3c731251)
Diffstat (limited to 'mkspecs/linux-kcc/qplatformdefs.h')
-rw-r--r-- | mkspecs/linux-kcc/qplatformdefs.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/mkspecs/linux-kcc/qplatformdefs.h b/mkspecs/linux-kcc/qplatformdefs.h index c78a1a279..7bc5cb1a3 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 |