From b797c98868dec60c658620603967bbcbeeaffadb Mon Sep 17 00:00:00 2001 From: Ami Bar Date: Wed, 16 Apr 2014 00:02:51 +0300 Subject: [PATCH] Made STP compatible with unpatched .NET 2.0 Thanks to HakanL. --- SmartThreadPool/STPEventWaitHandle.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SmartThreadPool/STPEventWaitHandle.cs b/SmartThreadPool/STPEventWaitHandle.cs index 47802f8..d3fb31b 100644 --- a/SmartThreadPool/STPEventWaitHandle.cs +++ b/SmartThreadPool/STPEventWaitHandle.cs @@ -5,7 +5,7 @@ using System.Threading; namespace Amib.Threading.Internal { -#if _WINDOWS || WINDOWS_PHONE +#if _SILVERLIGHT || WINDOWS_PHONE internal static class STPEventWaitHandle { public const int WaitTimeout = Timeout.Infinite;