Export the internal _Py_open() and _Py_write() functions for Solaris:
the select shared extension uses them.
PyObject *path,
struct stat *status);
-extern int _Py_open(
+// Export for 'select' shared extension (Solaris newDevPollObject() uses it)
+PyAPI_FUNC(int) _Py_open(
const char *pathname,
int flags);
void *buf,
size_t count);
-extern Py_ssize_t _Py_write(
+// Export for 'select' shared extension (Solaris devpoll_flush() uses it)
+PyAPI_FUNC(Py_ssize_t) _Py_write(
int fd,
const void *buf,
size_t count);