RISCOS changes by dschwertberger

This commit is contained in:
Guido van Rossum 2001-03-02 06:28:17 +00:00
parent 5dfa13719f
commit 1ca8bb374e
2 changed files with 13 additions and 0 deletions

View File

@ -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;

View File

@ -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 */