Browse code

use system zconf

git-svn: trunk@3651

aCaB authored on 2008/02/18 20:51:29
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Mon Feb 18 12:39:39 CET 2008 /acab)
2
+-----------------------------------
3
+  * libclamav/nsis: Use system zconf.h to allow building on HPUX
4
+
1 5
 Mon Feb 18 12:31:04 EET 2008 (edwin)
2 6
 ------------------------------------
3 7
   * libclamav/regex/regcomp.c: fix another out of memory condition (bb #849)
... ...
@@ -1,58 +1,2 @@
1
-/* zconf.h -- configuration of the zlib compression library
2
- * Copyright (C) 1995-1998 Jean-loup Gailly.
3
- * For conditions of distribution and use, see copyright notice in COPYING.nsis.
4
- */
5
-
6
-/* @(#) $Id: ZCONF.H,v 1.3 2007/01/13 17:28:23 kichik Exp $ */
7
-
8
-#ifndef _ZCONF_H
9
-#define _ZCONF_H
10
-
11
-
12
-#define MAX_MEM_LEVEL 9
13
-
14
-/* Maximum value for windowBits in deflateInit2 and inflateInit2.
15
- * WARNING: reducing MAX_WBITS makes minigzip unable to extract .gz files
16
- * created by gzip. (Files created by minigzip can still be extracted by
17
- * gzip.)
18
- */
19
-#ifndef MAX_WBITS
20
-#  define MAX_WBITS   15 /* 32K LZ77 window */
21
-#endif
22
-
23
-#define OF(args)  args
24
-
25
-
26
-#ifndef ZEXPORT
27
-#  define ZEXPORT
28
-#endif
29
-#ifndef ZEXPORTVA
30
-#  define ZEXPORTVA
31
-#endif
32
-#ifndef ZEXTERN
33
-#  define ZEXTERN extern
34
-#endif
35
-
36
-#ifndef FAR
37
-#  define FAR
38
-#endif
39
-
40
-typedef unsigned char  Byte;  /* 8 bits */
41
-typedef unsigned int   uInt;  /* 16 bits or more */
42
-typedef unsigned long  uLong; /* 32 bits or more */
43
-
44
-typedef Byte  FAR Bytef;
45
-typedef char  FAR charf;
46
-typedef int   FAR intf;
47
-typedef uInt  FAR uIntf;
48
-typedef uLong FAR uLongf;
49
-
50
-typedef void FAR *voidpf;
51
-typedef void     *voidp;
52
-
53
-#ifndef z_off_t
54
-#  define  z_off_t long
55
-#endif
56
-
57
-
58
-#endif /* _ZCONF_H */
1
+/* Avoid symbol collisions, just use the real thing */
2
+#include <zconf.h>