Unixware 7 support by Billy G. Allie (SF patch 413011)

This commit is contained in:
Guido van Rossum 2001-04-11 20:58:20 +00:00
parent 11e89c72c1
commit 2242f2fbd0
15 changed files with 2406 additions and 508 deletions

View file

@ -21,7 +21,7 @@ if sys.platform in ('netbsd1', 'Darwin1.2', 'darwin1',
'bsdos2', 'bsdos3', 'bsdos4',
'openbsd', 'openbsd2'):
lockdata = struct.pack('lxxxxlxxxxlhh', 0, 0, 0, FCNTL.F_WRLCK, 0)
elif sys.platform in ['aix3', 'aix4', 'hp-uxB']:
elif sys.platform in ['aix3', 'aix4', 'hp-uxB', 'unixware7']:
lockdata = struct.pack('hhlllii', FCNTL.F_WRLCK, 0, 0, 0, 0, 0, 0)
else:
lockdata = struct.pack('hhllhh', FCNTL.F_WRLCK, 0, 0, 0, 0, 0)