Fix broken Solaris build (getpwnam_r usage)
authorIikka Eklund <iikka.eklund@digia.com>
Thu, 22 Sep 2011 13:11:42 +0000 (15:11 +0200)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Thu, 22 Sep 2011 18:24:42 +0000 (20:24 +0200)
commit48f64fc7ae9f0e9e8ab07ab60ccd55d3b053dfab
treef15761a84a485f2363d42cb930155adffeab173a
parent0d0c1082f74888044713d96deca2d510951d018a
Fix broken Solaris build (getpwnam_r usage)

Added ifdef inside qt_tildeExpansion function to use correct
version of getpwnam_r depending on _C_POSIX_SOURCE version
on Solaris platform.

Task-number: QTBUG-21451
Merge-request: 1380
Reviewed-by: ossi
src/gui/dialogs/qfiledialog.cpp