RISCOS changes by dschwertberger.

This commit is contained in:
Guido van Rossum 2001-03-02 06:43:49 +00:00
parent 4ba3d657ef
commit d74fb6b12a
6 changed files with 64 additions and 24 deletions

View file

@ -48,7 +48,8 @@ __all__.extend(os._get_exports_list(_socket))
del _socket
if (sys.platform.lower().startswith("win")
or (hasattr(os, 'uname') and os.uname()[0] == "BeOS")):
or (hasattr(os, 'uname') and os.uname()[0] == "BeOS")
or (sys.platform=="RISCOS")):
# be sure this happens only once, even in the face of reload():
try: