[Python-Dev] Overly creative config in socketmodule.c

Neal Norwitz neal@metaslash.com
Wed, 12 Feb 2003 21:11:15 -0500


On Wed, Feb 12, 2003 at 08:53:50PM -0500, Tim Peters wrote:
> Someone very recently checked in this change:
> 
> [snip]
> 
> Now in case you were wondering,
> 
> #if 1
> #else
> #endif
> 
> isn't a robust way to do platform configuration <wink/arghghgh>.
> 
> Whoever did this, please back it out or do it right.  inet_aton doesn't
> exist on Windows, so socketmodule.c no longer compiles there.

Although I am not the guilty party, I checked in a configure
change which should fix your problem.  It worked on Linux, but
YMMV. :-)

Neal