This commit is contained in:
KimLS
2019-06-30 18:13:46 -07:00
parent d7c110041a
commit e086f53b97
116 changed files with 30587 additions and 13 deletions
+25
View File
@@ -0,0 +1,25 @@
#ifndef _ZBUILD_H
#define _ZBUILD_H
/* This has to be first include that defines any types */
#if defined(_MSC_VER)
# include <windows.h>
typedef SSIZE_T ssize_t;
# define __thread __declspec(thread)
#endif
#if defined(ZLIB_COMPAT)
# define PREFIX(x) x
# define PREFIX2(x) ZLIB_ ## x
# define PREFIX3(x) z_ ## x
# define zVersion zlibVersion
# define z_size_t unsigned long
#else
# define PREFIX(x) zng_ ## x
# define PREFIX2(x) ZLIBNG_ ## x
# define PREFIX3(x) zng_ ## x
# define zVersion zlibng_version
# define z_size_t size_t
#endif
#endif