pajoye Fri Jan 16 15:35:50 2009 UTC
Modified files:
/php-src/ext/standard link_win32.c
Log:
- MFB: fix VC6 build
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/link_win32.c?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/standard/link_win32.c
diff -u php-src/ext/standard/link_win32.c:1.2
php-src/ext/standard/link_win32.c:1.3
--- php-src/ext/standard/link_win32.c:1.2 Fri Jan 16 10:04:29 2009
+++ php-src/ext/standard/link_win32.c Fri Jan 16 15:35:50 2009
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: link_win32.c,v 1.2 2009/01/16 10:04:29 pajoye Exp $ */
+/* $Id: link_win32.c,v 1.3 2009/01/16 15:35:50 pajoye Exp $ */
#ifdef PHP_WIN32
#include "php.h"
@@ -50,6 +50,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)
@@ -149,7 +153,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