android; restored krait fix
fixed prepare script for android ndk
[System] Fix MacOsNetworkInterface.ImplGetAllNetworkInterfaces()

On my (cursed?) MacBook Pro, calling
System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()
results in an exception:

	System.ArgumentException: length
		at System.Array.Copy (System.Array sourceArray, Int32 sourceIndex, System.Array destinationArray, Int32 destinationIndex, Int32 length) [0x00000] in <filename unknown>:0
		at System.Net.NetworkInformation.MacOsNetworkInterface.ImplGetAllNetworkInterfaces () [0x00000] in <filename unknown>:0
		at System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces () [0x00000] in <filename unknown>:0

Some printfs later, and we see why:

	Array.Copy(array.Length=12, 3, array.Length=0, 0, 0)
	Array.Copy(array.Length=12, 4, array.Length=0, 0, 0)
	Array.Copy(array.Length=12, 4, array.Length=0, 0, 0)
	Array.Copy(array.Length=12, 3, array.Length=6, 0, 6)
	Array.Copy(array.Length=12, 3, array.Length=6, 0, 6)
	Array.Copy(array.Length=12, 3, array.Length=8, 0, 4)
	Array.Copy(array.Length=12, 4, array.Length=6, 0, 6)
	Array.Copy(array.Length=12, 8, array.Length=6, 0, 6)
	# BOOM!

(Apparently I have 8 interfaces: lo0, gif0, stf0, en0, en1, fw0, p2p0,
and vboxnet0.)

The problem is readily obvious: we're trying to read 6 bytes of data
when only 4 are available, and Array.Copy() complains appropriately.

The fix -- which looks to almost contradict a02076ba -- is to use
`sockaddrdl.sdl_data.Length - sockaddrdl.sdl_nlen` instead of
`sockaddrdl.sdl_data.Length - macAddress.Length` (or sdl_alen).
sdl_nlen is the offset into the source sockaddrdl.sdl_data array, and
in this case sockaddrdl.sdl_alen (the length of the destination
macAddress) isn't the same as sockaddrdl.sdl_nlen, hence the breakage.

Conflicts:
	mcs/class/System/System.Net.NetworkInformation/NetworkInterface.cs
Merge pull request #111 from Unity-Technologies/unity-4.5-staging

android; restored krait fix
[stv] Modify STV build scripts to build with latest toolchains.
Improve verification of overlapping reference fields when using explicit struct layout.
Merge pull request #116 from Unity-Technologies/unity-4.5-staging

Improve struct layout verification and STV build fix
added bit field on MonoClass to indicate if the class has an IntPtr pointing to a native class that needs AssetGarbageCollection scanning

Conflicts:
	msvc/mono.def
	unity/unity_liveness.c
Merge pull request #124 from Unity-Technologies/unity-4.5-staging

Liveness changes
Don't bump alignment for small structures on x64 to stay compatible with ABI.
Don't bump alignment for small structures on x64 to stay compatible with ABI.
Update OSX runtime build to use embedded clang from Unity repo.
Unbreak iphone simulator build.
do not try to find manage frames when stepping out from either, last managed frame or frame in between managed/native ones (fix case #573949)
Merge pull request #129 from Unity-Technologies/unity-4.5-staging

merging, as jonathan approved the changes over skype
Windows Registry: fixed the issue when Microsoft.Win32.Registry.GetValue() required write permissions

(cherry picked from commit 70fe346baf38269177067e9035dbfd07e02b89c7)
Merge pull request #133 from Unity-Technologies/unity-4.5-staging

Cherry pick Windows Registry fix (fixes issues with the Editor when run under restricted account)
Move Unity build scripts to external/buildscripts.

Conflicts:
	external/buildscripts/build_runtime_android.sh
Fix android build.
Fix ios crosscompiler windows build.