sys.platform on Mac OS X is now "darwin", without any version number appended.

This should probably go into NEWS (who's responsible for that?).
This commit is contained in:
Jack Jansen 2001-12-05 23:27:32 +00:00
parent a7594db5bc
commit 8a97f4a380
4 changed files with 417 additions and 415 deletions

View File

@ -619,7 +619,7 @@ _expectations = {
test_winreg test_winreg
test_winsound test_winsound
""", """,
'darwin1': 'darwin':
""" """
test_al test_al
test_cd test_cd

View File

@ -16,7 +16,7 @@ except AttributeError:
else: else:
start_len = "qq" start_len = "qq"
if sys.platform in ('netbsd1', 'Darwin1.2', 'darwin1', if sys.platform in ('netbsd1', 'Darwin1.2', 'darwin',
'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5', 'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
'bsdos2', 'bsdos3', 'bsdos4', 'bsdos2', 'bsdos3', 'bsdos4',
'openbsd', 'openbsd2'): 'openbsd', 'openbsd2'):

827
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -68,6 +68,7 @@ then
case $MACHDEP in case $MACHDEP in
cygwin*) MACHDEP="cygwin";; cygwin*) MACHDEP="cygwin";;
darwin*) MACHDEP="darwin";;
'') MACHDEP="unknown";; '') MACHDEP="unknown";;
esac esac
fi fi