[ python-Bugs-860134 ] socketmodule.c does not pickup all symbols
with MS visC++
SourceForge.net
noreply at sourceforge.net
Mon Dec 15 11:27:52 EST 2003
Bugs item #860134, was opened at 2003-12-15 03:27
Message generated for change (Comment added) made by theller
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=860134&group_id=5470
Category: Windows
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Frank Terhaar-Yonkers (frankty)
>Assigned to: Nobody/Anonymous (nobody)
Summary: socketmodule.c does not pickup all symbols with MS visC++
Initial Comment:
The symbol: socket.IP_HDRINCL does not exist is the
Win32 Python binary I downloaded/installed of Python
v2.3, nor does it appear when I compile 2.3.3RC1 with
MS Visual C++.
If I add the following to socketmodule.c:
(per the example in the windows SDK
./Samples/netds/WinSock/iphdrinc/rawudp.c)
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#include <winsock2.h>
#include <ws2tcpip.h>
All is well ..
I've no idea what symbol to #ifdef this on as this is
the first time I've compiled anything on "winders" :-)
Any no idea if "lean_and_mean" is required - all I know
is that it now works ..
cheers,
- Frank
fty at employees.org
----------------------------------------------------------------------
>Comment By: Thomas Heller (theller)
Date: 2003-12-15 17:27
Message:
Logged In: YES
user_id=11105
Please don't assign bug reports to a developer (especially
not me ;-).
Usually they stay unassigned until someone cares (when he
has the time).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=860134&group_id=5470
More information about the Python-bugs-list
mailing list