[System.Data] Fixes tests build with mobile profiles
[mono.git] / mcs / class / System.Data / Test / System.Data.Odbc / OdbcDataAdapterTest.cs
index 40055d72dada8339c9624332a4fbffac2d9ce098..e06add568752c4cb495fa3c38502729041034ba3 100644 (file)
@@ -26,6 +26,8 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+#if !NO_ODBC
+
 using System;
 using System.Data;
 using System.Data.Odbc;
@@ -488,3 +490,5 @@ namespace MonoTests.System.Data.Odbc
                }
        }
 }
+
+#endif
\ No newline at end of file