- MFB: fix builds for VC8+, strnlen is available in vc8 and later (used in spprintf.c)

This commit is contained in:
Pierre Joye 2008-12-13 11:59:03 +00:00
parent fa4d1caf50
commit 3292447864

View File

@ -349,6 +349,9 @@ ADD_SOURCES("win32", "inet.c");
if (VCVERS <= 1300) {
ADD_SOURCES("win32", "strtoi64.c");
}
if (VCVERS >= 1400) {
AC_DEFINE('HAVE_STRNLEN', 1);
}
ADD_SOURCES("main/streams", "streams.c cast.c memory.c filter.c plain_wrapper.c \
userspace.c transports.c xp_socket.c mmap.c unicode_filter.c glob_wrapper.c");