]> granicus.if.org Git - php/commitdiff
- MFB: fix VC6 build
authorPierre Joye <pajoye@php.net>
Fri, 16 Jan 2009 15:35:50 +0000 (15:35 +0000)
committerPierre Joye <pajoye@php.net>
Fri, 16 Jan 2009 15:35:50 +0000 (15:35 +0000)
ext/standard/link_win32.c

index eadf7f87c0b2fc44631f0af6274bd9a41db00fc7..fffd01669cfedb061a55bdcb5da22e9f099023f2 100644 (file)
@@ -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");