summaryrefslogtreecommitdiffstats
path: root/compat/zlib/win32
diff options
context:
space:
mode:
Diffstat (limited to 'compat/zlib/win32')
-rw-r--r--compat/zlib/win32/zlib.def6
-rw-r--r--compat/zlib/win32/zlib1.rc11
2 files changed, 12 insertions, 5 deletions
diff --git a/compat/zlib/win32/zlib.def b/compat/zlib/win32/zlib.def
index 278805f..a9e951f 100644
--- a/compat/zlib/win32/zlib.def
+++ b/compat/zlib/win32/zlib.def
@@ -16,6 +16,7 @@ EXPORTS
deflateBound
deflatePrime
deflateSetHeader
+ deflateTune
inflateSetDictionary
inflateSync
inflateCopy
@@ -23,6 +24,8 @@ EXPORTS
inflateBack
inflateBackEnd
inflateGetHeader
+ inflatePrime
+ inflateSyncPoint
zlibCompileFlags
; utility functions
compress
@@ -45,12 +48,15 @@ EXPORTS
gzrewind
gztell
gzeof
+ gzdirect
gzclose
gzerror
gzclearerr
; checksum functions
adler32
+ adler32_combine
crc32
+ crc32_combine
; various hacks, don't look :)
deflateInit_
deflateInit2_
diff --git a/compat/zlib/win32/zlib1.rc b/compat/zlib/win32/zlib1.rc
index 99025c9..77e8388 100644
--- a/compat/zlib/win32/zlib1.rc
+++ b/compat/zlib/win32/zlib1.rc
@@ -1,12 +1,13 @@
-#include <windows.h>
+#include <winver.h>
+#include "../zlib.h"
#ifdef GCC_WINDRES
VS_VERSION_INFO VERSIONINFO
#else
VS_VERSION_INFO VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
#endif
- FILEVERSION 1,2,2,0
- PRODUCTVERSION 1,2,2,0
+ FILEVERSION ZLIB_VER_MAJOR,ZLIB_VER_MINOR,ZLIB_VER_REVISION,0
+ PRODUCTVERSION ZLIB_VER_MAJOR,ZLIB_VER_MINOR,ZLIB_VER_REVISION,0
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
#ifdef _DEBUG
FILEFLAGS 1
@@ -23,12 +24,12 @@ BEGIN
//language ID = U.S. English, char set = Windows, Multilingual
BEGIN
VALUE "FileDescription", "zlib data compression library\0"
- VALUE "FileVersion", "1.2.3\0"
+ VALUE "FileVersion", ZLIB_VERSION "\0"
VALUE "InternalName", "zlib1.dll\0"
VALUE "LegalCopyright", "(C) 1995-2004 Jean-loup Gailly & Mark Adler\0"
VALUE "OriginalFilename", "zlib1.dll\0"
VALUE "ProductName", "zlib\0"
- VALUE "ProductVersion", "1.2.3\0"
+ VALUE "ProductVersion", ZLIB_VERSION "\0"
VALUE "Comments","DLL support by Alessandro Iacopetti & Gilles Vollant\0"
END
END