mirror of
https://github.com/python/cpython.git
synced 2025-07-16 15:55:18 +00:00
OS/2 VACPP build updates/fixes
This commit is contained in:
parent
174175bf3a
commit
da4d6cb573
5 changed files with 6 additions and 5 deletions
|
@ -575,7 +575,7 @@ builtin_execfile(PyObject *self, PyObject *args)
|
|||
struct stat s;
|
||||
if (stat(filename, &s) == 0) {
|
||||
if (S_ISDIR(s.st_mode))
|
||||
# if defined(PY_OS2) && defined(PYCC_VACPP)
|
||||
# if defined(PYOS_OS2) && defined(PYCC_VACPP)
|
||||
errno = EOS2ERR;
|
||||
# else
|
||||
errno = EISDIR;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue