commit | 8cb9f03ecba2379dc3d826955e419e49bd85c9b3 | [log] [tgz] |
---|---|---|
author | Stefan Krah <stefan@bytereef.org> | Tue Jul 13 19:40:00 2010 +0000 |
committer | Stefan Krah <stefan@bytereef.org> | Tue Jul 13 19:40:00 2010 +0000 |
tree | bd0bdaa6522e0b2765f57133074b707b5f2faa26 | |
parent | 182ae64235c510c7b40f7b26a1490d3f2163d00d [diff] [blame] |
Remove PYOS_OS2 special cases from the Solaris/OpenBSD section.
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 17af508..c365bc8 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c
@@ -1966,11 +1966,7 @@ char *res; Py_BEGIN_ALLOW_THREADS -#if defined(PYOS_OS2) && defined(PYCC_GCC) - res = _getcwd2(buf, sizeof buf); -#else - res = getcwd(buf, sizeof buf); -#endif + res = getcwd(buf, sizeof buf); Py_END_ALLOW_THREADS if (res == NULL)