Browse code

Fix CYGWIN compilation

git-svn: trunk@1936

Nigel Horne authored on 2006/05/01 03:24:20
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Sun Apr 30 19:23:35 BST 2006 (njh)
2
+----------------------------------
3
+  * libclamav/mbox.c:	Fix compilation error on CYGWIN (correctly this time)
4
+
1 5
 Tue Apr 25 18:48:23 BST 2006 (njh)
2 6
 ----------------------------------
3 7
   * libclamav/pst.c:	Apply patch from TK to use le??_to_host and to include
... ...
@@ -16,7 +16,7 @@
16 16
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
17 17
  *  MA 02110-1301, USA.
18 18
  */
19
-static	char	const	rcsid[] = "$Id: mbox.c,v 1.291 2006/04/21 14:45:19 nigelhorne Exp $";
19
+static	char	const	rcsid[] = "$Id: mbox.c,v 1.292 2006/04/30 18:22:44 nigelhorne Exp $";
20 20
 
21 21
 #if HAVE_CONFIG_H
22 22
 #include "clamav-config.h"
... ...
@@ -3714,7 +3714,7 @@ rfc1341(message *m, const char *dir)
3714 3714
 					extern short cli_leavetemps_flag;
3715 3715
 					struct stat statb;
3716 3716
 
3717
-#ifdef  C_CYGWIN
3717
+#ifndef  C_CYGWIN
3718 3718
 					if(dent->d_ino == 0)
3719 3719
 						continue;
3720 3720
 #endif