summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@digia.com>2013-07-31 09:53:41 (GMT)
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-28 18:51:42 (GMT)
commit9b62d3ef0bb3109f4d2d29a0b8fc6cf792729618 (patch)
tree4e47007212ee71c632bc67ac18f1662c3cf1ec62 /mkspecs
parent969a547680db18f2059bb395a23494e359ecbead (diff)
downloadQt-9b62d3ef0bb3109f4d2d29a0b8fc6cf792729618.zip
Qt-9b62d3ef0bb3109f4d2d29a0b8fc6cf792729618.tar.gz
Qt-9b62d3ef0bb3109f4d2d29a0b8fc6cf792729618.tar.bz2
Sun CC: Fix QtNetwork compilation
Change QT_SOCKLEN_T from int to socklen_t Change-Id: I3f93230f36c9af1a709e3ff301a63d18e1e02b4e Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/solaris-cc/qplatformdefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/solaris-cc/qplatformdefs.h b/mkspecs/solaris-cc/qplatformdefs.h
index f905ad5..ede8960 100644
--- a/mkspecs/solaris-cc/qplatformdefs.h
+++ b/mkspecs/solaris-cc/qplatformdefs.h
@@ -92,7 +92,7 @@
#define QT_SOCKLEN_T size_t
#else
// always this case in practice
-#define QT_SOCKLEN_T int
+#define QT_SOCKLEN_T socklen_t
#endif
// Solaris redefines connect -> __xnet_connect with _XOPEN_SOURCE_EXTENDED