Commits

Anonymous committed 31e302e

RISCOS changes by dschwertberger

  • Participants
  • Parent commits 8a4696d
  • Branches legacy-trunk

Comments (0)

Files changed (2)

Modules/_localemodule.c

 #include "macglue.h"
 #endif
 
+#ifdef RISCOS
+char *strdup(const char *);
+#endif
+
 static char locale__doc__[] = "Support for POSIX locales.";
 
 static PyObject *Error;

Modules/selectmodule.c

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