Commit 8a97f4a3 authored by Jack Jansen's avatar Jack Jansen

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?).
parent a7594db5
......@@ -619,7 +619,7 @@ _expectations = {
test_winreg
test_winsound
""",
'darwin1':
'darwin':
"""
test_al
test_cd
......
......@@ -16,7 +16,7 @@ except AttributeError:
else:
start_len = "qq"
if sys.platform in ('netbsd1', 'Darwin1.2', 'darwin1',
if sys.platform in ('netbsd1', 'Darwin1.2', 'darwin',
'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
'bsdos2', 'bsdos3', 'bsdos4',
'openbsd', 'openbsd2'):
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -68,6 +68,7 @@ then
case $MACHDEP in
cygwin*) MACHDEP="cygwin";;
darwin*) MACHDEP="darwin";;
'') MACHDEP="unknown";;
esac
fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment