bpo-36503: remove references to 'aix3' and 'aix4' (GH-12658)

This commit is contained in:
Michael Felt 2019-04-08 02:51:33 +02:00 committed by Inada Naoki
parent 6463ba3061
commit b7eec94c0e
4 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@ def get_lockdata():
fcntl.F_WRLCK, 0)
elif sys.platform.startswith('gnukfreebsd'):
lockdata = struct.pack('qqihhi', 0, 0, 0, fcntl.F_WRLCK, 0, 0)
elif sys.platform in ['aix3', 'aix4', 'hp-uxB', 'unixware7']:
elif sys.platform in ['hp-uxB', 'unixware7']:
lockdata = struct.pack('hhlllii', fcntl.F_WRLCK, 0, 0, 0, 0, 0, 0)
else:
lockdata = struct.pack('hh'+start_len+'hh', fcntl.F_WRLCK, 0, 0, 0, 0, 0)

View File

@ -476,6 +476,7 @@ Jim Fasarakis-Hilliard
Mark Favas
Sergey Fedoseev
Boris Feld
M. Felt
Thomas Fenzl
Niels Ferguson
Francisco Fernández Castaño

View File

@ -0,0 +1,2 @@
Remove references to "aix3" and "aix4".
Patch by M. Felt.

View File

@ -1882,9 +1882,6 @@ class PyBuildExt(build_ext):
libs.append('tk'+ version)
libs.append('tcl'+ version)
if HOST_PLATFORM in ['aix3', 'aix4']:
libs.append('ld')
# Finally, link with the X11 libraries (not appropriate on cygwin)
if not CYGWIN:
libs.append('X11')