diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-10-30 03:58:45 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-10-30 03:58:45 +0000 |
commit | 8c3a1cf1ef6b45d9b32c1e4adf444fc3d67ab823 (patch) | |
tree | 854b3694c682e23e20ba694b9b9b807f18501459 /cpukit/zlib | |
parent | 2005-10-28 Ralf Corsepius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-8c3a1cf1ef6b45d9b32c1e4adf444fc3d67ab823.tar.bz2 |
2005-10-30 Ralf Corsepius <ralf.corsepius@rtems.org>
* zconf.h: Hard-code using unistd.h.
Hard-code Z_PREFIX.
Diffstat (limited to 'cpukit/zlib')
-rw-r--r-- | cpukit/zlib/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/zlib/zconf.h | 4 |
2 files changed, 8 insertions, 1 deletions
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 <ralf.corsepius@rtems.org> + + * zconf.h: Hard-code using unistd.h. + Hard-code Z_PREFIX. + 2005-10-28 Ralf Corsepius <ralf.corsepius@rtems.org> * 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 <sys/types.h> /* for off_t */ # include <unistd.h> /* for SEEK_* and off_t */ # ifdef VMS |