]> granicus.if.org Git - python/commitdiff
Remove PYOS_OS2 special cases from the Solaris/OpenBSD section.
authorStefan Krah <stefan@bytereef.org>
Tue, 13 Jul 2010 19:40:00 +0000 (19:40 +0000)
committerStefan Krah <stefan@bytereef.org>
Tue, 13 Jul 2010 19:40:00 +0000 (19:40 +0000)
Modules/posixmodule.c

index 17af5086613d9c37e7641beb58adc666c3cf71ae..c365bc8c9c3c62812cc9001f50ea2f8488aa45af 100644 (file)
@@ -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)