mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-03 03:30:06 +00:00
added some changes to make the core library compile on the iPhone (none of the UI code is done yet). In the process of this, fixed some endianness problems in SystemStats::getMACAddresses, and changed some of the mac code for timing, directory searching, etc to use different APIs internally.
This commit is contained in:
parent
9ebff4bc92
commit
3ae9ac0295
27 changed files with 8488 additions and 640 deletions
|
|
@ -54,7 +54,7 @@ int SystemStats::getMACAddresses (int64* addresses, int maxNum, const bool littl
|
|||
{
|
||||
int64 a = 0;
|
||||
for (int j = 6; --j >= 0;)
|
||||
a = (a << 8) | (uint8) ifr.ifr_hwaddr.sa_data[j];
|
||||
a = (a << 8) | (uint8) ifr.ifr_hwaddr.sa_data [littleEndian ? j : (5 - j)];
|
||||
|
||||
*addresses++ = a;
|
||||
++numResults;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue