• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef _ZBUILD_H
2 #define _ZBUILD_H
3 
4 /* This has to be first include that defines any types */
5 #if defined(_MSC_VER)
6 #  if defined(_WIN64)
7     typedef __int64 ssize_t;
8 #  else
9     typedef long ssize_t;
10 #  endif
11 #endif
12 
13 #if defined(ZLIB_COMPAT)
14 #  define PREFIX(x) x
15 #  define PREFIX2(x) ZLIB_ ## x
16 #  define PREFIX3(x) z_ ## x
17 #  define PREFIX4(x) x ## 64
18 #  define zVersion zlibVersion
19 #  define z_size_t unsigned long
20 #else
21 #  define PREFIX(x) zng_ ## x
22 #  define PREFIX2(x) ZLIBNG_ ## x
23 #  define PREFIX3(x) zng_ ## x
24 #  define PREFIX4(x) zng_ ## x
25 #  define zVersion zlibng_version
26 #  define z_size_t size_t
27 #endif
28 
29 #endif
30