mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-11-29 07:32:25 +00:00
minizconf.h: (hopefully) fix MinGW compatibility of z_off64_t
This commit is contained in:
parent
ab676878b9
commit
a6870cabfc
1 changed files with 11 additions and 6 deletions
|
@ -53,8 +53,13 @@
|
||||||
#if !defined(_WIN32) && defined(Z_LARGE64)
|
#if !defined(_WIN32) && defined(Z_LARGE64)
|
||||||
#define z_off64_t off64_t
|
#define z_off64_t off64_t
|
||||||
#else
|
#else
|
||||||
# if defined(_WIN32) && !defined(__GNUC__)
|
#if defined(_WIN32)
|
||||||
|
#ifdef _MSC_VER
|
||||||
#define z_off64_t __int64
|
#define z_off64_t __int64
|
||||||
|
#else
|
||||||
|
#include <stdint.h>
|
||||||
|
#define z_off64_t int64_t
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#define z_off64_t z_off_t
|
#define z_off64_t z_off_t
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue