[issue3257] "#define socklen_t int" in pyconfig.h

Amaury Forgeot d'Arc report at bugs.python.org
Wed Jul 2 17:09:35 CEST 2008


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

This block is only to support the older VC6 compiler. Since your
installation was most certainly compiled with VS7, your change is correct.

(or better, something like:
   #if !defined(_MSC_VER) || _MSC_VER + 0 >= 1300
)

The trunk version (future 2.6) was already fixed with r64214: the
"#define socklen_t int" was moved to socketmodule.h, which is not
included in python.h.

----------
nosy: +amaury.forgeotdarc
resolution:  -> out of date
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3257>
_______________________________________


More information about the Python-bugs-list mailing list