git-svn: trunk@1169
Nigel Horne authored on 2004/12/09 04:03:41... | ... |
@@ -16,6 +16,9 @@ |
16 | 16 |
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
17 | 17 |
* |
18 | 18 |
* $Log: text.c,v $ |
19 |
+ * Revision 1.13 2004/12/08 19:03:41 nigelhorne |
|
20 |
+ * Fix compilation error on Solaris |
|
21 |
+ * |
|
19 | 22 |
* Revision 1.12 2004/12/04 16:03:55 nigelhorne |
20 | 23 |
* Text/plain now handled as no encoding |
21 | 24 |
* |
... | ... |
@@ -45,12 +48,16 @@ |
45 | 45 |
* |
46 | 46 |
*/ |
47 | 47 |
|
48 |
-static char const rcsid[] = "$Id: text.c,v 1.12 2004/12/04 16:03:55 nigelhorne Exp $"; |
|
48 |
+static char const rcsid[] = "$Id: text.c,v 1.13 2004/12/08 19:03:41 nigelhorne Exp $"; |
|
49 | 49 |
|
50 | 50 |
#if HAVE_CONFIG_H |
51 | 51 |
#include "clamav-config.h" |
52 | 52 |
#endif |
53 | 53 |
|
54 |
+#ifndef CL_DEBUG |
|
55 |
+#define NDEBUG /* map CLAMAV debug onto standard */ |
|
56 |
+#endif |
|
57 |
+ |
|
54 | 58 |
#include <stdlib.h> |
55 | 59 |
#ifdef C_DARWIN |
56 | 60 |
#include <sys/types.h> |