summaryrefslogtreecommitdiffstats
path: root/mkspecs/hpux-g++-64/qplatformdefs.h
diff options
context:
space:
mode:
authorTristan Chabredier <tc@4js.com>2009-12-15 09:20:29 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-12-15 09:20:29 (GMT)
commit7a3c595421b98087da638a5e706320d0d936d828 (patch)
treefa0413340a98487e70eb5e6a62148318498a34dd /mkspecs/hpux-g++-64/qplatformdefs.h
parentcd0c4934ed60a3eae12d85d93aa950e9296cdb83 (diff)
downloadQt-7a3c595421b98087da638a5e706320d0d936d828.zip
Qt-7a3c595421b98087da638a5e706320d0d936d828.tar.gz
Qt-7a3c595421b98087da638a5e706320d0d936d828.tar.bz2
Fix compilation on HP-UX 11.11.
Error was: thread/qthread_unix.cpp: In static member function 'static int QThread::idealThreadCount()': thread/qthread_unix.cpp:325: error: aggregate 'pst_dynamic psd' has incomplete type and cannot be defined thread/qthread_unix.cpp:326: error: 'pstat_getdynamic' was not declared in this scope Task-number: QTBUG-6576 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
Diffstat (limited to 'mkspecs/hpux-g++-64/qplatformdefs.h')
-rw-r--r--mkspecs/hpux-g++-64/qplatformdefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/hpux-g++-64/qplatformdefs.h b/mkspecs/hpux-g++-64/qplatformdefs.h
index a8d06d8..ac13799 100644
--- a/mkspecs/hpux-g++-64/qplatformdefs.h
+++ b/mkspecs/hpux-g++-64/qplatformdefs.h
@@ -145,7 +145,7 @@
#define QT_SIGNAL_ARGS int
#define QT_SIGNAL_IGNORE SIG_IGN
-#define QT_SOCKLEN_T int
+#define QT_SOCKLEN_T socklen_t
#endif // QPLATFORMDEFS_H