-
-
Notifications
You must be signed in to change notification settings - Fork 266
Commit
* move definition of z_size_t to zbuild.h
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
|
||
/* @(#) $Id$ */ | ||
|
||
#include "zbuild.h" | ||
#include "zutil.h" | ||
#include "functable.h" | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
* | ||
*/ | ||
|
||
#include "zbuild.h" | ||
#ifdef __ARM_FEATURE_CRC32 | ||
#include <arm_acle.h> | ||
#endif | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
* | ||
*/ | ||
|
||
#include "zbuild.h" | ||
#ifdef __ARM_FEATURE_CRC32 | ||
#include <arm_acle.h> | ||
#endif | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
* | ||
*/ | ||
|
||
#include "zbuild.h" | ||
#include "x86.h" | ||
#include "crc_folding.h" | ||
#include "deflate.h" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ | |
|
||
/* @(#) $Id$ */ | ||
|
||
# include "zbuild.h" | ||
# include "gzendian.h" | ||
|
||
/* | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,6 +49,7 @@ | |
|
||
/* @(#) $Id$ */ | ||
|
||
#include "zbuild.h" | ||
#include "deflate.h" | ||
#include "deflate_p.h" | ||
#include "match.h" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,7 @@ | |
|
||
/* @(#) $Id$ */ | ||
|
||
#include "zbuild.h" | ||
#ifdef ZLIB_COMPAT | ||
# include "zlib.h" | ||
#else | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,7 @@ | |
|
||
/* #define GEN_TREES_H */ | ||
|
||
#include "zbuild.h" | ||
#include "deflate.h" | ||
|
||
#ifdef ZLIB_DEBUG | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#ifndef _ZBUILD_H | ||
#define _ZBUILD_H | ||
|
||
/* This has to be first include that defines any types */ | ||
#if defined(_MSC_VER) | ||
This comment has been minimized.
Sorry, something went wrong. |
||
# include <windows.h> | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
mtl1979
Author
Collaborator
|
||
typedef SSIZE_T ssize_t; | ||
#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 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
|
||
/* @(#) $Id$ */ | ||
|
||
#include "zbuild.h" | ||
#include "zutil.h" | ||
#ifdef WITH_GZFILEOP | ||
# include "gzguts.h" | ||
|
This shouldn't be compiler, but platform specific. E.g. should have been
_WIN32
instead of_MSC_VER