TARGET_JVM
authorAndrew Skiba <andrews@mono-cvs.ximian.com>
Thu, 28 Sep 2006 14:46:10 +0000 (14:46 -0000)
committerAndrew Skiba <andrews@mono-cvs.ximian.com>
Thu, 28 Sep 2006 14:46:10 +0000 (14:46 -0000)
svn path=/trunk/mcs/; revision=66041

mcs/class/System/System.IO.Compression/ChangeLog
mcs/class/System/System.IO.Compression/DeflateStream.cs

index b7ff7be512061c3c5d948f316c043d7ee4c6d7c0..767605c6b3215d1c563ee743949b579ec5daf7e8 100644 (file)
@@ -1,3 +1,7 @@
+2006-09-28  Andrew Skiba  <andrews@mainsoft.com>
+
+       * DeflateStream.cs: TARGET_JVM
+
 2006-09-19  Miguel de Icaza  <miguel@novell.com>
 
        * GzipStream.cs: Only dispose, do not try to use internal routines.
index 10ea240a57dfb2c384f47cc24f429ef9c57ad99f..df09f0fb7fa79d49d5726f9d035b7353c56581ce 100644 (file)
@@ -45,7 +45,7 @@ namespace System.IO.Compression {
                        Z_BLOCK         = 5,
                };
 
-
+#if !TARGET_JVM
                [DllImport("MonoPosixHelper")]
                static extern IntPtr create_z_stream(CompressionMode compress, bool gzip);
                [DllImport("MonoPosixHelper")]
@@ -64,7 +64,7 @@ namespace System.IO.Compression {
                static extern ZReturnConsts z_stream_inflate(IntPtr z_stream, ref int avail_out);
                [DllImport("MonoPosixHelper")]
                static extern ZReturnConsts z_stream_deflate(IntPtr z_stream, ZFlushConsts flush, IntPtr next_out, ref int avail_out);
-
+#endif
                delegate int  ReadMethod (byte[] array, int offset, int count);
                delegate void WriteMethod(byte[] array, int offset, int count);