Sun CC: Fix QFileDialog compilation
authorSergio Ahumada <sergio.ahumada@digia.com>
Wed, 31 Jul 2013 11:03:07 +0000 (13:03 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 16 Aug 2013 09:06:18 +0000 (11:06 +0200)
commit6d47f5a168e350a6d9cbddb343ff9d75ffbd2c04
tree12dd77c1b63c776a6f5926424b242ba366d09936
parentfdecdc39399994d2c0309005922590e2f106bbef
Sun CC: Fix QFileDialog compilation

Only use the old getpwnam_r() function when _POSIX_C_SOURCE is
defined.

Task-number: QTBUG-21451
Change-Id: I6bfc4c9f784616fc08866542c34ed71ab69559e9
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/gui/dialogs/qfiledialog.cpp