Changeset View
Changeset View
Standalone View
Standalone View
sys/contrib/zlib/zutil.h
Show All 24 Lines | |||||
# if !(defined(_WIN32_WCE) && defined(_MSC_VER)) | # if !(defined(_WIN32_WCE) && defined(_MSC_VER)) | ||||
# include <stddef.h> | # include <stddef.h> | ||||
# endif | # endif | ||||
# include <string.h> | # include <string.h> | ||||
# include <stdlib.h> | # include <stdlib.h> | ||||
#endif | #endif | ||||
#ifdef Z_SOLO | #ifdef Z_SOLO | ||||
#ifndef _PTRDIFF_T_DECLARED | |||||
typedef long ptrdiff_t; /* guess -- will be caught if guess is wrong */ | typedef long ptrdiff_t; /* guess -- will be caught if guess is wrong */ | ||||
#define _PTRDIFF_T_DECLARED | |||||
#endif | |||||
#endif | #endif | ||||
#ifndef local | #ifndef local | ||||
# define local static | # define local static | ||||
#endif | #endif | ||||
/* since "static" is used to mean two completely different things in C, we | /* since "static" is used to mean two completely different things in C, we | ||||
define "local" for the non-static meaning of "static", for readability | define "local" for the non-static meaning of "static", for readability | ||||
(compile with -Dlocal if your debugger can't find static symbols) */ | (compile with -Dlocal if your debugger can't find static symbols) */ | ||||
▲ Show 20 Lines • Show All 230 Lines • Show Last 20 Lines |