Changeset View
Changeset View
Standalone View
Standalone View
head/sys/contrib/zlib/zconf.h
Show First 20 Lines • Show All 497 Lines • ▼ Show 20 Lines | |||||
# define SEEK_SET 0 /* Seek from beginning of file. */ | # define SEEK_SET 0 /* Seek from beginning of file. */ | ||||
# define SEEK_CUR 1 /* Seek from current position. */ | # define SEEK_CUR 1 /* Seek from current position. */ | ||||
# define SEEK_END 2 /* Set file pointer to EOF plus "offset" */ | # define SEEK_END 2 /* Set file pointer to EOF plus "offset" */ | ||||
#endif | #endif | ||||
/* | /* | ||||
* This is hard-configured for FreeBSD. | * This is hard-configured for FreeBSD. | ||||
*/ | */ | ||||
#ifdef Z_SOLO | |||||
# include <sys/types.h> /* for off_t */ | |||||
#endif | |||||
#define z_off_t off_t | #define z_off_t off_t | ||||
#ifndef _FILE_OFFSET_BITS | #ifndef _FILE_OFFSET_BITS | ||||
#define _FILE_OFFSET_BITS 64 | #define _FILE_OFFSET_BITS 64 | ||||
#endif | #endif | ||||
#ifndef z_off_t | #ifndef z_off_t | ||||
# define z_off_t long | # define z_off_t long | ||||
#endif | #endif | ||||
Show All 29 Lines |