mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-11-27 14:42:23 +00:00
Fix building with Gentoo's patched zlib.
This commit is contained in:
parent
f19247957d
commit
56d53004d5
1 changed files with 4 additions and 4 deletions
|
@ -24,10 +24,10 @@
|
||||||
#ifndef _ZLIBIOAPI64_H
|
#ifndef _ZLIBIOAPI64_H
|
||||||
#define _ZLIBIOAPI64_H
|
#define _ZLIBIOAPI64_H
|
||||||
|
|
||||||
// DG: Gentoo renamed zlibs OF to _Z_OF for some reason..
|
// fixes Gentoo zlib problems, see
|
||||||
// as we use OF, just define it as _Z_OF in that case
|
// https://bugs.gentoo.org/show_bug.cgi?id=383179
|
||||||
#ifdef _Z_OF
|
#ifndef OF
|
||||||
#define OF _Z_OF
|
#define OF(x) x
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (!defined(_WIN32)) && (!defined(WIN32)) && (!defined(__APPLE__))
|
#if (!defined(_WIN32)) && (!defined(WIN32)) && (!defined(__APPLE__))
|
||||||
|
|
Loading…
Reference in a new issue