#define _ZLIB_H
#include <sys/appleapiopts.h>
-#if !defined(KERNEL) || defined(__APPLE_API_PRIVATE)
+#ifdef KERNEL_PRIVATE
#if __cplusplus
extern "C" {
# define compress2 z_compress2
# define uncompress z_uncompress
# define adler32 z_adler32
+#if 0
# define crc32 z_crc32
# define get_crc_table z_get_crc_table
+#endif
# define Byte z_Byte
# define uInt z_uInt
if (adler != original_adler) error();
*/
+#if 0
ZEXTERN uLong ZEXPORT crc32 OF((uLong crc, const Bytef *buf, uInt len));
/*
Update a running crc with the bytes buf[0..len-1] and return the updated
}
if (crc != original_crc) error();
*/
+#endif
/* various hacks, don't look :) */
}
#endif
-#endif /* !KERNEL || __APPLE_API_PRIVATE */
+#endif KERNEL_PRIVATE
#endif /* _ZLIB_H */
/* --- zlib.h */