Commit ebe83f98 authored by Christian Heimes's avatar Christian Heimes

fix compile issue on windows. path is now a struct ptr

parent e55013fe
...@@ -2651,10 +2651,10 @@ os_access_impl(PyObject *self, path_t *path, int mode, int dir_fd, int effective ...@@ -2651,10 +2651,10 @@ os_access_impl(PyObject *self, path_t *path, int mode, int dir_fd, int effective
#ifdef MS_WINDOWS #ifdef MS_WINDOWS
Py_BEGIN_ALLOW_THREADS Py_BEGIN_ALLOW_THREADS
if (path.wide != NULL) if (path->wide != NULL)
attr = GetFileAttributesW(path.wide); attr = GetFileAttributesW(path->wide);
else else
attr = GetFileAttributesA(path.narrow); attr = GetFileAttributesA(path->narrow);
Py_END_ALLOW_THREADS Py_END_ALLOW_THREADS
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment