diff options
author | Pixel <Pixel> | 2002-08-15 22:09:26 +0000 |
---|---|---|
committer | Pixel <Pixel> | 2002-08-15 22:09:26 +0000 |
commit | d962e8d2d650c7b297dcd041b55060bc29996a93 (patch) | |
tree | 696546c56615e3ab8022bb33979f8602957e7739 /includes | |
parent | 1d836e3fd9d3c4f9ce08b6a062dd597e5fe4e1dc (diff) |
bleeeeh
Diffstat (limited to 'includes')
-rw-r--r-- | includes/Handle.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/includes/Handle.h b/includes/Handle.h index 967e221..3836f3e 100644 --- a/includes/Handle.h +++ b/includes/Handle.h @@ -2,7 +2,9 @@ #define __HANDLE_H__ #ifdef __cplusplus +#ifdef HAVE_ZLIB #include <zlib.h> +#endif #include <unistd.h> #include <iostream> #include <String.h> @@ -32,7 +34,9 @@ class Handle : public Base { int GetHandle(); virtual bool CanWatch(); virtual void Dup(const Handle &); +#ifdef HAVE_ZLIB virtual void SetZ(int) throw (GeneralException); +#endif protected: Handle(int h); off_t itell; @@ -41,8 +45,10 @@ class Handle : public Base { ssize_t uread(void *, size_t); int h; bool closed, nonblock; +#ifdef HAVE_ZLIB gzFile zfile; int z; +#endif }; Handle & operator<<(Handle &, const String &); |