Message114157
After trying it out, pulling SOCKET in the Python headers brings complications under Windows, because you need to include <winsock2.h> which in turn breaks compilation of _pickle.c (duplicate definition of "FLOAT", "INT", etc.).
An alternative approach would be to define only SIZEOF_SOCKET_T in the standard headers (we don't actually need access to the SOCKET type to compute it, as the current hard-coding shows), and leave SOCKET_T in socketmodule.h. |
|
Date |
User |
Action |
Args |
2010-08-17 20:08:37 | pitrou | set | recipients:
+ pitrou, loewis, tim.golden, brian.curtin, dmalcolm |
2010-08-17 20:08:37 | pitrou | set | messageid: <1282075717.48.0.00416167416105.issue4835@psf.upfronthosting.co.za> |
2010-08-17 20:08:36 | pitrou | link | issue4835 messages |
2010-08-17 20:08:35 | pitrou | create | |
|