diff options
| author | Thiago Macieira <[email protected]> | 2012-12-21 20:47:08 -0800 |
|---|---|---|
| committer | The Qt Project <[email protected]> | 2012-12-28 23:28:05 +0100 |
| commit | a891ef69201e3c7c7b1090a1315db4c91b8809f5 (patch) | |
| tree | fb4af3d4894bb68699646aab7f5b425d77f81e7d /src/sql/drivers/psql/qsql_psql.cpp | |
| parent | 7b54571ec2032628ea71b0af2d65c97b67dd50e0 (diff) | |
Don't use MPProcessorsScheduled on Mac OS X
It's deprecated and it's not available on iOS anyway. The recommended
way of getting the number of processors online is via sysctl or
sysconf (both of which are just slightly below).
qthread_unix.cpp:397:13: error: 'MPProcessorsScheduled' is deprecated: first deprecated in Mac OS X 10.7 [-Werror,-Wdeprecated-declarations]
Change-Id: I4bf60985fbde155b78b840f3de3ff0a142b78b19
Reviewed-by: Tor Arne Vestbø <[email protected]>
Diffstat (limited to 'src/sql/drivers/psql/qsql_psql.cpp')
0 files changed, 0 insertions, 0 deletions
