From 8cb9f03ecba2379dc3d826955e419e49bd85c9b3 Mon Sep 17 00:00:00 2001 From: Stefan Krah Date: Tue, 13 Jul 2010 19:40:00 +0000 Subject: Remove PYOS_OS2 special cases from the Solaris/OpenBSD section. --- Modules/posixmodule.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 @@ 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) -- cgit v0.12