1
0
Fork 0
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:
Julian Storer 2011-02-05 15:15:45 +00:00
parent 571a2626da
commit 08339c92e2
23 changed files with 1233 additions and 616 deletions

View file

@ -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() {}