From 143f2439d9ade536627e1ceb2fa5c2200a2a688e Mon Sep 17 00:00:00 2001 From: lidgren Date: Thu, 14 Oct 2010 20:15:27 +0000 Subject: [PATCH] fixed uncommented IS_MAC_AVAILABLE compile error --- Lidgren.Network/NetPeer.Internal.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Lidgren.Network/NetPeer.Internal.cs b/Lidgren.Network/NetPeer.Internal.cs index 48dabd5..8e25ae3 100644 --- a/Lidgren.Network/NetPeer.Internal.cs +++ b/Lidgren.Network/NetPeer.Internal.cs @@ -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();