Browse Source

Fix build on Windows

pull/2047/head
Kalle Sommer Nielsen 10 years ago
parent
commit
bfba840e42
  1. 2
      Zend/zend_virtual_cwd.c

2
Zend/zend_virtual_cwd.c

@ -299,7 +299,7 @@ CWD_API int php_sys_stat_ex(const char *path, zend_stat_t *buf, int lstat) /* {{
WIN32_FILE_ATTRIBUTE_DATA data;
LARGE_INTEGER t;
const size_t path_len = strlen(path);
ALLOCA_FLAG(use_heap_large);
ALLOCA_FLAG(use_heap_large)
wchar_t *pathw = php_win32_ioutil_any_to_w(path);
if (!pathw) {

Loading…
Cancel
Save