From 9ae9f8718cc821153c40c66ccad470761aecbc7f Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Fri, 16 Jan 2009 15:35:50 +0000 Subject: [PATCH] - MFB: fix VC6 build --- ext/standard/link_win32.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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"); -- 2.50.1