mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 17:53:37 +00:00
15 lines
423 B
Diff
15 lines
423 B
Diff
--- qt-everywhere-opensource-src-4.8.5/mkspecs/linux-g++/qplatformdefs.h.orig
|
|
+++ qt-everywhere-opensource-src-4.8.5/mkspecs/linux-g++/qplatformdefs.h
|
|
@@ -86,11 +86,7 @@
|
|
|
|
#undef QT_SOCKLEN_T
|
|
|
|
-#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
|