summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/bltinmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 7321b74..b3c8b09 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -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;