-
Notifications
You must be signed in to change notification settings - Fork 655
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed build error due to renamed zlib's OF() macro
Closes #246
- Loading branch information
Showing
6 changed files
with
65 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- iowin32.h.orig 2023-01-15 11:29:28.234622529 +0100 | ||
+++ iowin32.h 2023-01-15 11:29:37.790645280 +0100 | ||
@@ -18,6 +18,9 @@ | ||
extern "C" { | ||
#endif | ||
|
||
+#undef OF | ||
+#define OF(x) x | ||
+ | ||
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)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |