瀏覽代碼

Revert "Fix the MDr and MT build"

This reverts commit b5c472b320cf2d52bfe27fe172ea7f667a118d7a.

We can use the Unsafe optimized variant in mobile.
Jb Evain 15 年之前
父節點
當前提交
31d4e41b63
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mcs/class/corlib/System.Threading/Timer.cs

+ 1 - 1
mcs/class/corlib/System.Threading/Timer.cs

@@ -338,7 +338,7 @@ namespace System.Threading
 							list.RemoveAt (i);
 							count--;
 							i--;
-#if NET_2_1
+#if MOONLIGHT
 							ThreadPool.QueueUserWorkItem (TimerCaller, timer);
 #else
 							ThreadPool.UnsafeQueueUserWorkItem (TimerCaller, timer);