RISCOS changes by dschwertberger
This commit is contained in:
parent
5dfa13719f
commit
1ca8bb374e
|
@ -26,6 +26,10 @@ This software comes with no warranty. Use at your own risk.
|
|||
#include "macglue.h"
|
||||
#endif
|
||||
|
||||
#ifdef RISCOS
|
||||
char *strdup(const char *);
|
||||
#endif
|
||||
|
||||
static char locale__doc__[] = "Support for POSIX locales.";
|
||||
|
||||
static PyObject *Error;
|
||||
|
|
|
@ -50,6 +50,15 @@ extern void bzero(void *, int);
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef RISCOS
|
||||
#define NO_DUP
|
||||
#undef off_t
|
||||
#undef uid_t
|
||||
#undef gid_t
|
||||
#undef errno
|
||||
#include "socklib.h"
|
||||
#endif /* RISCOS */
|
||||
|
||||
static PyObject *SelectError;
|
||||
|
||||
/* list of Python objects and their file descriptor */
|
||||
|
|
Loading…
Reference in New Issue