projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
db5bda6
)
A few bug fixes for Windows.
author
Richard Levitte
<levitte@openssl.org>
Thu, 30 Nov 2000 17:41:01 +0000
(17:41 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Thu, 30 Nov 2000 17:41:01 +0000
(17:41 +0000)
crypto/comp/c_zlib.c
patch
|
blob
|
history
diff --git
a/crypto/comp/c_zlib.c
b/crypto/comp/c_zlib.c
index 90ead64b7297dc192c0602307cf788dfc8dc85a2..c2ff6c701120b80521d8bf41a313ffa02c17dd09 100644
(file)
--- a/
crypto/comp/c_zlib.c
+++ b/
crypto/comp/c_zlib.c
@@
-51,7
+51,7
@@
static COMP_METHOD zlib_method={
#if defined(WINDOWS) || defined(WIN32)
# include <windows.h>
#if defined(WINDOWS) || defined(WIN32)
# include <windows.h>
-# define Z_CALLCONV _stcall
+# define Z_CALLCONV _st
d
call
# define ZLIB_SHARED
#else
# define Z_CALLCONV
# define ZLIB_SHARED
#else
# define Z_CALLCONV
@@
-69,11
+69,11
@@
static int stub_inflateInit_(z_streamp strm, const char * version,
int stream_size);
/* Function pointers */
int stream_size);
/* Function pointers */
-typedef int
Z_CALLCONV (
*compress_ft)(Bytef *dest,uLongf *destLen,
+typedef int
(Z_CALLCONV
*compress_ft)(Bytef *dest,uLongf *destLen,
const Bytef *source, uLong sourceLen);
const Bytef *source, uLong sourceLen);
-typedef int
Z_CALLCONV (
*inflateEnd_ft)(z_streamp strm);
-typedef int
Z_CALLCONV (
*inflate_ft)(z_streamp strm, int flush);
-typedef int
Z_CALLCONV (
*inflateInit__ft)(z_streamp strm,
+typedef int
(Z_CALLCONV
*inflateEnd_ft)(z_streamp strm);
+typedef int
(Z_CALLCONV
*inflate_ft)(z_streamp strm, int flush);
+typedef int
(Z_CALLCONV
*inflateInit__ft)(z_streamp strm,
const char * version, int stream_size);
static compress_ft p_compress=NULL;
static inflateEnd_ft p_inflateEnd=NULL;
const char * version, int stream_size);
static compress_ft p_compress=NULL;
static inflateEnd_ft p_inflateEnd=NULL;