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)