forked from qt-creator/qt-creator
Replace MAC OS X with OS X
Task-number: QTBUG-46374 Change-Id: I7bc633ab551740bd328a24b0ccae1d534af47138 Reviewed-by: Martin Smith <martin.smith@digia.com> (cherry picked from qtbase/a7f2af09114cfa0996794c85bc48a601f665772d) Reviewed-by: Jake Petroules <jake.petroules@theqtcompany.com>
This commit is contained in:
committed by
Oswald Buddenhagen
parent
fa6d0f1231
commit
52d024c26e
@@ -85,7 +85,7 @@ static int idealThreadCount()
|
|||||||
// we don't need them all here
|
// we don't need them all here
|
||||||
int cores = 1;
|
int cores = 1;
|
||||||
# if defined(Q_OS_BSD4)
|
# if defined(Q_OS_BSD4)
|
||||||
// FreeBSD, OpenBSD, NetBSD, BSD/OS, Mac OS X
|
// FreeBSD, OpenBSD, NetBSD, BSD/OS, OS X
|
||||||
size_t len = sizeof(cores);
|
size_t len = sizeof(cores);
|
||||||
int mib[2];
|
int mib[2];
|
||||||
mib[0] = CTL_HW;
|
mib[0] = CTL_HW;
|
||||||
|
|||||||
Reference in New Issue
Block a user