From: Pierre Joye Date: Fri, 16 Jan 2009 15:35:50 +0000 (+0000) Subject: - MFB: fix VC6 build X-Git-Tag: php-5.4.0alpha1~191^2~4499 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9ae9f8718cc821153c40c66ccad470761aecbc7f;p=php - MFB: fix VC6 build --- diff --git a/ext/standard/link_win32.c b/ext/standard/link_win32.c index eadf7f87c0..fffd01669c 100644 --- a/ext/standard/link_win32.c +++ b/ext/standard/link_win32.c @@ -50,6 +50,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) @@ -149,7 +153,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");