pajoye Sat Dec 13 11:47:07 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/win32/build config.w32 Log: - fix builds for VC8+, strnlen is available in vc8 and later (used in spprintf.c) http://cvs.php.net/viewvc.cgi/php-src/win32/build/config.w32?r1=1.40.2.8.2.10.2.35&r2=1.40.2.8.2.10.2.36&diff_format=u Index: php-src/win32/build/config.w32 diff -u php-src/win32/build/config.w32:1.40.2.8.2.10.2.35 php-src/win32/build/config.w32:1.40.2.8.2.10.2.36 --- php-src/win32/build/config.w32:1.40.2.8.2.10.2.35 Fri Nov 21 14:18:27 2008 +++ php-src/win32/build/config.w32 Sat Dec 13 11:47:06 2008 @@ -1,5 +1,5 @@ // vim:ft=javascript -// $Id: config.w32,v 1.40.2.8.2.10.2.35 2008/11/21 14:18:27 pajoye Exp $ +// $Id: config.w32,v 1.40.2.8.2.10.2.36 2008/12/13 11:47:06 pajoye Exp $ // "Master" config file; think of it as a configure.in // equivalent. @@ -315,6 +315,9 @@ 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 glob_wrapper.c");
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php