Update copyrights
[mono.git] / mcs / class / corlib / System.Threading / NativeEventCalls.cs
index c73cf248c0675fa46c5cdc6447f102fa753a19b7..55a3da7166ecaa14f06f199716a20def5abd5f14 100644 (file)
@@ -34,7 +34,7 @@
 using System;
 using System.Runtime.CompilerServices;
 
-#if NET_2_0
+#if !NET_2_1
 using System.Security.AccessControl;
 using System.IO;
 #endif
@@ -55,7 +55,7 @@ namespace System.Threading
                [MethodImplAttribute(MethodImplOptions.InternalCall)]
                public static extern void CloseEvent_internal (IntPtr handle);
 
-#if NET_2_0
+#if !NET_2_1
                [MethodImplAttribute (MethodImplOptions.InternalCall)]
                public static extern IntPtr OpenEvent_internal (string name, EventWaitHandleRights rights, out MonoIOError error);
 #endif