diff options
Diffstat (limited to 'games-emulation/dosbox-x/files/z_of_fix.patch')
-rw-r--r-- | games-emulation/dosbox-x/files/z_of_fix.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/games-emulation/dosbox-x/files/z_of_fix.patch b/games-emulation/dosbox-x/files/z_of_fix.patch new file mode 100644 index 0000000..e557088 --- /dev/null +++ b/games-emulation/dosbox-x/files/z_of_fix.patch @@ -0,0 +1,14 @@ +diff -Naurp a/include/ioapi.h b/include/ioapi.h +--- a/include/ioapi.h 2020-08-03 21:18:18.606933344 +0200 ++++ b/include/ioapi.h 2020-08-03 21:19:30.329932231 +0200 +@@ -105,6 +105,10 @@ typedef unsigned long long int ZPOS64_T; + extern "C" { + #endif + ++#ifdef _Z_OF ++#undef OF ++#define OF _Z_OF ++#endif + + #define ZLIB_FILEFUNC_SEEK_CUR (1) + #define ZLIB_FILEFUNC_SEEK_END (2) |