On So 12 Okt 2003 09:18:37p Bernd Kuhls wrote: > I solved it with these patches:
Hi, oops, first time using diff;-) and mixed up the original and the updated file. The correct looks like this: --- ../original/libclamav/message.c Wed Oct 1 11:28:23 2003 +++ ./libclamav/message.c Mon Oct 13 03:45:13 2003 @@ -55,11 +55,11 @@ #include "strrcpy.h" #include "others.h" -#if defined(NO_STRTOK_R) || !defined(CL_THREAD_SAFE) +//#if defined(NO_STRTOK_R) || !defined(CL_THREAD_SAFE) #undef strtok_r #undef __strtok_r #define strtok_r(a,b,c) strtok(a,b) -#endif +//#endif /* required for AIX and Tru64 */ #ifdef TRUE --- ../original/libclamav/mbox.c Wed Oct 1 11:27:42 2003 +++ ./libclamav/mbox.c Mon Oct 13 03:45:02 2003 @@ -64,11 +64,11 @@ #include "defaults.h" /* FIXME: implement HAVE_STRTOK_R */ -#ifndef CL_THREAD_SAFE +//#ifndef CL_THREAD_SAFE #undef strtok_r #undef __strtok_r #define strtok_r(a,b,c) strtok(a,b) -#endif +//#endif /* required for AIX and Tru64 */ #ifdef TRUE Greetings, Bernd ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users