pajoye Fri Jan 16 14:10:16 2009 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard link_win32.c Log: - fix vc6 build http://cvs.php.net/viewvc.cgi/php-src/ext/standard/link_win32.c?r1=1.1.2.2&r2=1.1.2.3&diff_format=u Index: php-src/ext/standard/link_win32.c diff -u php-src/ext/standard/link_win32.c:1.1.2.2 php-src/ext/standard/link_win32.c:1.1.2.3 --- php-src/ext/standard/link_win32.c:1.1.2.2 Fri Jan 16 10:07:03 2009 +++ php-src/ext/standard/link_win32.c Fri Jan 16 14:10:16 2009 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: link_win32.c,v 1.1.2.2 2009/01/16 10:07:03 pajoye Exp $ */ +/* $Id: link_win32.c,v 1.1.2.3 2009/01/16 14:10:16 pajoye Exp $ */ #ifdef PHP_WIN32 #include "php.h" @@ -51,6 +51,10 @@ - this file is then useless and we have a portable link API */ +#ifndef VOLUME_NAME_NT +#define VOLUME_NAME_NT 0x2 +#endif + /* {{{ proto string readlink(string filename) Return the target of a symbolic link */ PHP_FUNCTION(readlink) @@ -150,7 +154,7 @@ size_t len; DWORD attr; HINSTANCE kernel32; - typedef BOOLEAN (WINAPI *csla_func)( __in LPCSTR, __in LPCSTR, __in DWORD); + typedef BOOLEAN (WINAPI *csla_func)(LPCSTR, LPCSTR, DWORD); csla_func pCreateSymbolicLinkA; kernel32 = LoadLibrary("kernel32.dll");
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php