Kaydet (Commit) 1ca8bb37 authored tarafından Guido van Rossum's avatar Guido van Rossum

RISCOS changes by dschwertberger

üst 5dfa1371
...@@ -26,6 +26,10 @@ This software comes with no warranty. Use at your own risk. ...@@ -26,6 +26,10 @@ This software comes with no warranty. Use at your own risk.
#include "macglue.h" #include "macglue.h"
#endif #endif
#ifdef RISCOS
char *strdup(const char *);
#endif
static char locale__doc__[] = "Support for POSIX locales."; static char locale__doc__[] = "Support for POSIX locales.";
static PyObject *Error; static PyObject *Error;
......
...@@ -50,6 +50,15 @@ extern void bzero(void *, int); ...@@ -50,6 +50,15 @@ extern void bzero(void *, int);
#endif #endif
#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; static PyObject *SelectError;
/* list of Python objects and their file descriptor */ /* list of Python objects and their file descriptor */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment