mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-02-18 18:21:22 +00:00
Fix compilation on Gentoo
For some reason Gentoo renamed zlibs OF() macro to _Z_OF Our minizip uses OF(), so add a #define for it in case _Z_OF is defined. Thanks to salamanderrake for the fix
This commit is contained in:
parent
fa231898b0
commit
40ac4d7c5a
1 changed files with 6 additions and 0 deletions
|
@ -24,6 +24,12 @@
|
||||||
#ifndef _ZLIBIOAPI64_H
|
#ifndef _ZLIBIOAPI64_H
|
||||||
#define _ZLIBIOAPI64_H
|
#define _ZLIBIOAPI64_H
|
||||||
|
|
||||||
|
// DG: Gentoo renamed zlibs OF to _Z_OF for some reason..
|
||||||
|
// as we use OF, just define it as _Z_OF in that case
|
||||||
|
#ifdef _Z_OF
|
||||||
|
#define OF _Z_OF
|
||||||
|
#endif
|
||||||
|
|
||||||
#if (!defined(_WIN32)) && (!defined(WIN32)) && (!defined(__APPLE__))
|
#if (!defined(_WIN32)) && (!defined(WIN32)) && (!defined(__APPLE__))
|
||||||
|
|
||||||
// Linux needs this to support file operation on files larger then 4+GB
|
// Linux needs this to support file operation on files larger then 4+GB
|
||||||
|
|
Loading…
Reference in a new issue