Browse code

Only use strcasestr on Linux

git-svn: trunk@3246

Nigel Horne authored on 2007/09/25 19:27:45
Showing 2 changed files
... ...
@@ -1,3 +1,8 @@
1
+Tue Sep 25 10:43:35 BST 2007 (njh)
2
+----------------------------------
3
+  * libclamav/mbox.c:	Only use strcasestr on Linux (for now, until it
4
+  				can be built into configure)
5
+
1 6
 Sun Sep 23 13:49:12 BST 2007 (njh)
2 7
 ----------------------------------
3 8
   * libclamav/mbox.c:	MailFollowURLS: Prefer .exes for download, catches
... ...
@@ -186,7 +186,8 @@ typedef	unsigned	int	in_addr_t;
186 186
 #define EISCONN	WSAEISCONN
187 187
 #endif
188 188
 
189
-#ifdef	C_WINDOWS
189
+/* Needs HAVE_STRCASSTR test in configure */
190
+#ifndef	C_LINUX
190 191
 #define	strcasestr(h, n)	strstr(h, n)	/* This will cause isBounceMessage() to match too much */
191 192
 #endif
192 193