diff options
author | Pierre Joye <pajoye@php.net> | 2009-01-16 14:10:16 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2009-01-16 14:10:16 +0000 |
commit | 8ccc7777b16b29d7861c865c25a2486dc2b43c84 (patch) | |
tree | 2d5019f7a07f3089d2d2b696e2e535b988125785 /ext/standard/link_win32.c | |
parent | bce6bc73fc3697348a1e5c49a618cfba83db2869 (diff) | |
download | php-git-8ccc7777b16b29d7861c865c25a2486dc2b43c84.tar.gz |
- fix vc6 build
Diffstat (limited to 'ext/standard/link_win32.c')
-rw-r--r-- | ext/standard/link_win32.c | 6 |
1 files changed, 5 insertions, 1 deletions
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"); |