Browse code

Fix compilation error on Solaris

git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@1170 77e5149b-7576-45b1-b177-96237e5ba77b

Nigel Horne authored on 2004/12/09 05:07:23
Showing 1 changed files
... ...
@@ -16,6 +16,9 @@
16 16
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17 17
  *
18 18
  * $Log: line.c,v $
19
+ * Revision 1.7  2004/12/08 20:07:23  nigelhorne
20
+ * Fix compilation error on Solaris
21
+ *
19 22
  * Revision 1.6  2004/10/14 17:45:55  nigelhorne
20 23
  * Try to reclaim some memory if it becomes low when decoding
21 24
  *
... ...
@@ -36,12 +39,16 @@
36 36
  *
37 37
  */
38 38
 
39
-static	char	const	rcsid[] = "$Id: line.c,v 1.6 2004/10/14 17:45:55 nigelhorne Exp $";
39
+static	char	const	rcsid[] = "$Id: line.c,v 1.7 2004/12/08 20:07:23 nigelhorne Exp $";
40 40
 
41 41
 #if HAVE_CONFIG_H
42 42
 #include "clamav-config.h"
43 43
 #endif
44 44
 
45
+#ifndef	CL_DEBUG
46
+#define	NDEBUG	/* map CLAMAV debug onto standard */
47
+#endif
48
+
45 49
 #include <stdio.h>
46 50
 #include <string.h>
47 51
 #include <assert.h>
... ...
@@ -49,10 +56,6 @@ static	char	const	rcsid[] = "$Id: line.c,v 1.6 2004/10/14 17:45:55 nigelhorne Ex
49 49
 #include "line.h"
50 50
 #include "others.h"
51 51
 
52
-#ifndef	CL_DEBUG
53
-#define	NDEBUG	/* map CLAMAV debug onto standard */
54
-#endif
55
-
56 52
 #ifdef	OLD
57 53
 line_t *
58 54
 lineCreate(const char *data)