TARGET_JVM ifdef
authorKonstantin Triger <kostat@mono-cvs.ximian.com>
Sun, 6 Aug 2006 13:46:24 +0000 (13:46 -0000)
committerKonstantin Triger <kostat@mono-cvs.ximian.com>
Sun, 6 Aug 2006 13:46:24 +0000 (13:46 -0000)
svn path=/trunk/mcs/; revision=63409

mcs/class/System.Data/System.Data.Common/DbConnection.cs

index c19e06816463a8badef3880bb2bb3f76b1b55ced..643cb46a4e397e03f3318d790e7de4200916ff4b 100644 (file)
@@ -34,7 +34,7 @@
 
 using System.ComponentModel;
 using System.Data;
-#if NET_2_0
+#if NET_2_0 && !TARGET_JVM
 using System.Transactions;
 #endif
 
@@ -95,7 +95,7 @@ namespace System.Data.Common {
 
                protected abstract DbCommand CreateDbCommand ();
 
-#if NET_2_0
+#if NET_2_0 && !TARGET_JVM
                [MonoTODO]
                public virtual void EnlistTransaction (Transaction transaction)
                {