From 8c3a1cf1ef6b45d9b32c1e4adf444fc3d67ab823 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sun, 30 Oct 2005 03:58:45 +0000 Subject: 2005-10-30 Ralf Corsepius * zconf.h: Hard-code using unistd.h. Hard-code Z_PREFIX. --- cpukit/zlib/ChangeLog | 5 +++++ cpukit/zlib/zconf.h | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'cpukit') diff --git a/cpukit/zlib/ChangeLog b/cpukit/zlib/ChangeLog index 800670bcef..0141b562d8 100644 --- a/cpukit/zlib/ChangeLog +++ b/cpukit/zlib/ChangeLog @@ -1,3 +1,8 @@ +2005-10-30 Ralf Corsepius + + * zconf.h: Hard-code using unistd.h. + Hard-code Z_PREFIX. + 2005-10-28 Ralf Corsepius * zconf.in.h: Remove (Unused). diff --git a/cpukit/zlib/zconf.h b/cpukit/zlib/zconf.h index ea939082ab..1060bcdc69 100644 --- a/cpukit/zlib/zconf.h +++ b/cpukit/zlib/zconf.h @@ -8,6 +8,8 @@ #ifndef ZCONF_H #define ZCONF_H +#define Z_PREFIX 1 + /* * If you *really* need a unique prefix for all types and library functions, * compile with -DZ_PREFIX. The "standard" zlib should be compiled without it. @@ -291,7 +293,7 @@ typedef uLong FAR uLongf; typedef Byte *voidp; #endif -#if 0 /* HAVE_UNISTD_H -- this line is updated by ./configure */ +#if 1 /* HAVE_UNISTD_H -- this line is updated by ./configure */ # include /* for off_t */ # include /* for SEEK_* and off_t */ # ifdef VMS -- cgit v1.2.3