mirror of
https://github.com/php/php-src.git
synced 2024-11-25 10:54:15 +08:00
Fix macro
This commit is contained in:
parent
98102648cb
commit
cc7b000d2c
@ -117,7 +117,7 @@ typedef enum {
|
||||
#define PHP_WIN32_IOUTIL_IS_JUNCTION_PATHW(pathw, path_lenw) (path_lenw >= PHP_WIN32_IOUTIL_JUNCTION_PREFIX_LENW \
|
||||
&& 0 == wcsncmp((pathw), PHP_WIN32_IOUTIL_JUNCTION_PREFIXW, PHP_WIN32_IOUTIL_JUNCTION_PREFIX_LENW))
|
||||
#define PHP_WIN32_IOUTIL_IS_ABSOLUTEW(pathw, path_lenw) (PHP_WIN32_IOUTIL_IS_LONG_PATHW(pathw, path_lenw) \
|
||||
|| path_lenw >= 3 && PHP_WIN32_IOUTIL_IS_LETTERW(pathw[0]) && L':' == pathw[1] && IS_SLASHW(pathw[2]))
|
||||
|| path_lenw >= 3 && PHP_WIN32_IOUTIL_IS_LETTERW(pathw[0]) && L':' == pathw[1] && PHP_WIN32_IOUTIL_IS_SLASHW(pathw[2]))
|
||||
|
||||
#define PHP_WIN32_IOUTIL_INIT_W(path) \
|
||||
wchar_t *pathw = php_win32_ioutil_any_to_w(path); \
|
||||
|
Loading…
Reference in New Issue
Block a user