From: Pierre Joye Date: Fri, 16 Jan 2009 14:10:16 +0000 (+0000) Subject: - fix vc6 build X-Git-Tag: php-5.3.0beta1~130 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8ccc7777b16b29d7861c865c25a2486dc2b43c84;p=php - fix vc6 build --- diff --git a/ext/standard/link_win32.c b/ext/standard/link_win32.c index 7a6a212657..841da3ef38 100644 --- a/ext/standard/link_win32.c +++ b/ext/standard/link_win32.c @@ -51,6 +51,10 @@ TODO: - 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 @@ PHP_FUNCTION(symlink) 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");