pajoye Sat Dec 13 11:59:03 2008 UTC
Modified files:
/php-src/win32/build config.w32
Log:
- MFB: 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.89&r2=1.90&diff_format=u
Index: php-src/win32/build/config.w32
diff -u php-src/win32/build/config.w32:1.89 php-src/win32/build/config.w32:1.90
--- php-src/win32/build/config.w32:1.89 Fri Nov 21 14:05:04 2008
+++ php-src/win32/build/config.w32 Sat Dec 13 11:59:03 2008
@@ -1,5 +1,5 @@
// vim:ft=javascript
-// $Id: config.w32,v 1.89 2008/11/21 14:05:04 pajoye Exp $
+// $Id: config.w32,v 1.90 2008/12/13 11:59:03 pajoye Exp $
// "Master" config file; think of it as a configure.in
// equivalent.
@@ -349,6 +349,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 unicode_filter.c
glob_wrapper.c");
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php