[System] Fix building unit tests under the mobile profile
authorSebastien Pouliot <sebastien@xamarin.com>
Fri, 12 Sep 2014 00:43:21 +0000 (20:43 -0400)
committerSebastien Pouliot <sebastien@xamarin.com>
Fri, 12 Sep 2014 00:43:21 +0000 (20:43 -0400)
mcs/class/System/Test/System.Diagnostics/TextWriterTraceListenerHelper.cs

index f6643b06c23887ccc058dc8b3d5b5d61468e26af..248e2ee0814eebbf9eb25566ab44260502cb20c5 100644 (file)
@@ -28,6 +28,8 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+#if !MOBILE
+
 using System;
 using System.IO;
 using System.Diagnostics;
@@ -83,4 +85,4 @@ namespace MonoTests.System.Diagnostics
        }
 }
 
-
+#endif
\ No newline at end of file