diff options
author | Yasha Jannoo <alledodo@gmail.com> | 2019-09-14 12:15:04 +0100 |
---|---|---|
committer | Yasha Jannoo <alledodo@gmail.com> | 2019-09-14 12:51:21 +0100 |
commit | f2e1338eba568ac7caa0051d57f1f6a10ae81801 (patch) | |
tree | 4a6589fb83fe95308b75a76505d97a972f2bd7be /zlib/contrib/minizip/iowin32.h | |
parent | e31b0c1803d976e29b258c7307e32fd0d63821e5 (diff) | |
download | starshatter-f2e1338eba568ac7caa0051d57f1f6a10ae81801.zip starshatter-f2e1338eba568ac7caa0051d57f1f6a10ae81801.tar.gz starshatter-f2e1338eba568ac7caa0051d57f1f6a10ae81801.tar.bz2 |
Update zlib 3rd party code to v1.2.11
zlib source code, version 1.2.11. https://www.zlib.net/.
Include all the gynmastics involved in:
- making sure we compile zlibstat and set the output files locations and filename to those expected by the starshatter setup.
- turning off the ASM includes as they are invalid for the new versions of zlib (and crash when running).
- matching the calling conventions of the Starshatter code by ommiting ZLIB_WINAPI from the zlib preprocessor defines.
- fix debug build compile error in zlibstatic:
https://stackoverflow.com/questions/31867018/unresolved-external-symbol-except-handler4-common-in-visual-studio-2015
This fixes some string warnings.
Diffstat (limited to 'zlib/contrib/minizip/iowin32.h')
-rw-r--r-- | zlib/contrib/minizip/iowin32.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/zlib/contrib/minizip/iowin32.h b/zlib/contrib/minizip/iowin32.h new file mode 100644 index 0000000..0ca0969 --- /dev/null +++ b/zlib/contrib/minizip/iowin32.h @@ -0,0 +1,28 @@ +/* iowin32.h -- IO base function header for compress/uncompress .zip + Version 1.1, February 14h, 2010 + part of the MiniZip project - ( http://www.winimage.com/zLibDll/minizip.html ) + + Copyright (C) 1998-2010 Gilles Vollant (minizip) ( http://www.winimage.com/zLibDll/minizip.html ) + + Modifications for Zip64 support + Copyright (C) 2009-2010 Mathias Svensson ( http://result42.com ) + + For more info read MiniZip_info.txt + +*/ + +#include <windows.h> + + +#ifdef __cplusplus +extern "C" { +#endif + +void fill_win32_filefunc OF((zlib_filefunc_def* pzlib_filefunc_def)); +void fill_win32_filefunc64 OF((zlib_filefunc64_def* pzlib_filefunc_def)); +void fill_win32_filefunc64A OF((zlib_filefunc64_def* pzlib_filefunc_def)); +void fill_win32_filefunc64W OF((zlib_filefunc64_def* pzlib_filefunc_def)); + +#ifdef __cplusplus +} +#endif |