mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-22 01:34:21 +00:00
Minor fixes for mac compilation. Android stuff.
This commit is contained in:
parent
571a2626da
commit
08339c92e2
23 changed files with 1233 additions and 616 deletions
|
|
@ -77,8 +77,6 @@ int SystemStats::getCpuSpeedInMegaherz()
|
|||
|
||||
int SystemStats::getMemorySizeInMegabytes()
|
||||
{
|
||||
// TODO
|
||||
|
||||
struct sysinfo sysi;
|
||||
|
||||
if (sysinfo (&sysi) == 0)
|
||||
|
|
@ -125,8 +123,7 @@ void SystemStats::initialiseStats()
|
|||
cpuFlags.hasSSE2 = flags.contains ("sse2");
|
||||
cpuFlags.has3DNow = flags.contains ("3dnow");
|
||||
|
||||
// TODO
|
||||
cpuFlags.numCpus = AndroidStatsHelpers::getCpuInfo ("processor").getIntValue() + 1;
|
||||
cpuFlags.numCpus = jmax (1, sysconf (_SC_NPROCESSORS_ONLN));
|
||||
}
|
||||
|
||||
void PlatformUtilities::fpuReset() {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue