1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-06 02:11:06 +09:00

fixed uncommented IS_MAC_AVAILABLE compile error

This commit is contained in:
lidgren
2010-10-14 20:15:27 +00:00
parent 5e95651649
commit 143f2439d9

View File

@@ -75,8 +75,9 @@ namespace Lidgren.Network
InitializeRecycling();
System.Net.NetworkInformation.PhysicalAddress pa = null;
#if IS_MAC_AVAILABLE
System.Net.NetworkInformation.PhysicalAddress pa = NetUtility.GetMacAddress();
pa = NetUtility.GetMacAddress();
if (pa != null)
{
m_macAddressBytes = pa.GetAddressBytes();