6ff8752be ^
96b828a38 ^
1 2 3
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
discard """ disabled: true """ when defined(windows): import winlean else: import posix when defined(Windows): template orig: expr = winlean else: template orig: expr = posix proc socket(domain, typ, protocol: int): int = result = orig.socket(ord(domain), ord(typ), ord(protocol)))