commit | 32aaa52ed4f9d34339d09bc9f83a762151c0702d | [log] [tgz] |
---|---|---|
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | Sun Mar 20 11:13:48 2016 +0100 |
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | Sun Mar 27 12:38:17 2016 +0200 |
tree | 051434b9f107f72667e9008a025b778b85051f51 | |
parent | 8624392f7ecb6c3126d1bd84c6857a2986a0fa08 [diff] |
Use Gestalt to get number of CPUs on OS X. MPProcessors has been deprecated with 10.7. When targeting 10.7 (required when building with Qt 5.6 on OS X) this causes a warning. Use Gestalt instead (Gestalt has been deprecated with 10.8, but when targeting 10.7 this doesn't cause a warning, and Gestalt is used for other values as well). Change-Id: Iaf82147ad47115e228f5c08f8198a6a7e92102a3