commit | 2dd8dddef412c64692f2ba6eb297411a00ff5d29 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Apr 21 20:33:00 2000 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Apr 21 20:33:00 2000 +0000 |
tree | fb6237a48ea61f31445763c4e38b667587c27bda | |
parent | ace88aebbbbb5c96eb3dd88308d03d3d3b9c73e5 [diff] |
Use an explicit macro SOCKETCLOSE which expands to closesocket (on Windows), soclose (on OS2), or to close (everywhere else). Hopefully this fixes a new compilation error that I suddenly get on Windows because the macro definition for close -> closesocket apparently was done before including io.h, which contains a prototype for close. (No idea why this wasn't an error before.)