summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Krah <stefan@bytereef.org>2010-07-13 19:40:00 +0000
committerStefan Krah <stefan@bytereef.org>2010-07-13 19:40:00 +0000
commit8cb9f03ecba2379dc3d826955e419e49bd85c9b3 (patch)
treebd0bdaa6522e0b2765f57133074b707b5f2faa26
parent182ae64235c510c7b40f7b26a1490d3f2163d00d (diff)
downloadcpython-git-8cb9f03ecba2379dc3d826955e419e49bd85c9b3.tar.gz
Remove PYOS_OS2 special cases from the Solaris/OpenBSD section.
-rw-r--r--Modules/posixmodule.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 17af508661..c365bc8c9c 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -1966,11 +1966,7 @@ posix_getcwd(PyObject *self, PyObject *noargs)
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)