Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mcs
diff options
context:
space:
mode:
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2010-04-08 02:57:26 +0400
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2010-04-08 02:57:26 +0400
commit90c9532dc2830c5946a3a8dbb9e6cd636b726b00 (patch)
treeaab672cd4eea7d24353b5f0922cee52cecfc7950 /mcs
parent1b292d544184c4fdca47bb05a9fb531237f8caba (diff)
svn path=/branches/mono-2-6/mcs/; revision=155016
Diffstat (limited to 'mcs')
-rw-r--r--mcs/class/System/System.IO.Compression/DeflateStream.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/mcs/class/System/System.IO.Compression/DeflateStream.cs b/mcs/class/System/System.IO.Compression/DeflateStream.cs
index b83ca4c486d..63da8eddcc5 100644
--- a/mcs/class/System/System.IO.Compression/DeflateStream.cs
+++ b/mcs/class/System/System.IO.Compression/DeflateStream.cs
@@ -421,19 +421,19 @@ namespace System.IO.Compression {
const string LIBNAME = "MonoPosixHelper";
#endif
- [DllImport (LIBNAME)]
+ [DllImport (LIBNAME, CallingConvention=CallingConvention.Cdecl)]
static extern IntPtr CreateZStream (CompressionMode compress, bool gzip, UnmanagedReadOrWrite feeder, IntPtr data);
- [DllImport (LIBNAME)]
+ [DllImport (LIBNAME, CallingConvention=CallingConvention.Cdecl)]
static extern int CloseZStream (IntPtr stream);
- [DllImport (LIBNAME)]
+ [DllImport (LIBNAME, CallingConvention=CallingConvention.Cdecl)]
static extern int Flush (IntPtr stream);
- [DllImport (LIBNAME)]
+ [DllImport (LIBNAME, CallingConvention=CallingConvention.Cdecl)]
static extern int ReadZStream (IntPtr stream, IntPtr buffer, int length);
- [DllImport (LIBNAME)]
+ [DllImport (LIBNAME, CallingConvention=CallingConvention.Cdecl)]
static extern int WriteZStream (IntPtr stream, IntPtr buffer, int length);
}
}