From 7a98be2efbdc44a6271e3bf6117a1e6c77828414 Mon Sep 17 00:00:00 2001 From: Skip Montanaro Date: Thu, 16 Aug 2007 14:35:24 +0000 Subject: Remove RISCOS support --- Python/sysmodule.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Python/sysmodule.c') diff --git a/Python/sysmodule.c b/Python/sysmodule.c index 245d22ad0c2..542e624543f 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -1290,11 +1290,7 @@ PySys_SetArgv(int argc, char **argv) p = strrchr(argv0, SEP); } if (p != NULL) { -#ifndef RISCOS n = p + 1 - argv0; -#else /* don't include trailing separator */ - n = p - argv0; -#endif /* RISCOS */ #if SEP == '/' /* Special case for Unix filename syntax */ if (n > 1) n--; /* Drop trailing separator */ -- cgit v1.2.3