Using VS2015, errors: > 1>c:\...\visual studio > 2015\projects\clamav-0.99.2\win32\3rdparty\pthreads\ptw32_relmillisecs.c(80): > error C2037: left of 'tv_sec' specifies undefined struct/union 'timespec' > 1>c:\...\visual studio > 2015\projects\clamav-0.99.2\win32\3rdparty\pthreads\ptw32_relmillisecs.c(81): > error C2037: left of 'tv_nsec' specifies undefined struct/union 'timespec' > 1>c:\...\visual studio > 2015\projects\clamav-0.99.2\win32\3rdparty\pthreads\pthread_delay_np.c(96): > error C2037: left of 'tv_sec' specifies undefined struct/union 'timespec' > 1>c:\...\visual studio > 2015\projects\clamav-0.99.2\win32\3rdparty\pthreads\pthread_delay_np.c(96): > error C2037: left of 'tv_nsec' specifies undefined struct/union 'timespec' > 1>c:\...\visual studio > 2015\projects\clamav-0.99.2\win32\3rdparty\pthreads\pthread_delay_np.c(105): > error C2037: left of 'tv_sec' specifies undefined struct/union 'timespec' > 1>c:\...\visual studio > 2015\projects\clamav-0.99.2\win32\3rdparty\pthreads\pthread_delay_np.c(108): > error C2037: left of 'tv_nsec' specifies undefined struct/union 'timespec'
only building libclamav and using visual studio 2013 as the platform toolset as 2015 gives lots of the following: > fatal error C1189: #error: Macro definition of snprintf conflicts with > Standard Library function declaration Can anyone help me out with this? Also when I eventually get this working must it be a .dll thats built rather than a .lib? Thank you. _______________________________________________ clamav-users mailing list [email protected] http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml
