Remove PYOS_OS2 special cases from the Solaris/OpenBSD section.

This commit is contained in:
Stefan Krah 2010-07-13 19:40:00 +00:00
parent 182ae64235
commit 8cb9f03ecb
1 changed files with 1 additions and 5 deletions

View 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)