mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
OS/2 VACPP build updates/fixes
This commit is contained in:
@@ -579,7 +579,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;
|
||||
|
||||
Reference in New Issue
Block a user