mirror of https://github.com/stella-emu/stella.git
Create zlib defines in a cleaner cross-platform way.
This commit is contained in:
parent
7ee1ccbbc9
commit
e60e3ac9d2
|
@ -8,6 +8,13 @@
|
|||
#ifndef ZCONF_H
|
||||
#define ZCONF_H
|
||||
|
||||
/* Added by SA: 2017-01-15 */
|
||||
#if defined(BSPF_UNIX) || defined(BSPF_MAC_OSX)
|
||||
#define HAVE_UNISTD_H
|
||||
#endif
|
||||
#define HAVE_STDARG_H
|
||||
/***************************/
|
||||
|
||||
/*
|
||||
* If you *really* need a unique prefix for all types and library functions,
|
||||
* compile with -DZ_PREFIX. The "standard" zlib should be compiled without it.
|
||||
|
@ -431,11 +438,11 @@ typedef uLong FAR uLongf;
|
|||
typedef unsigned long z_crc_t;
|
||||
#endif
|
||||
|
||||
#if HAVE_UNISTD_H /* SA: 2017-01-15 */
|
||||
#ifdef HAVE_UNISTD_H /* may be set to #if 1 by ./configure */
|
||||
# define Z_HAVE_UNISTD_H
|
||||
#endif
|
||||
|
||||
#if 1 /* was set to #if 1 by ./configure */
|
||||
#ifdef HAVE_STDARG_H /* may be set to #if 1 by ./configure */
|
||||
# define Z_HAVE_STDARG_H
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue