OS/2 VACPP build updates/fixes

This commit is contained in:
Andrew MacIntyre 2004-03-29 11:53:38 +00:00
parent 174175bf3a
commit da4d6cb573
5 changed files with 6 additions and 5 deletions

View file

@ -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;