OS/2 VACPP build updates/fixes

This commit is contained in:
Andrew MacIntyre
2004-03-29 11:58:55 +00:00
parent f0deb8720b
commit 61525be632
5 changed files with 6 additions and 5 deletions

View File

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