]> granicus.if.org Git - python/commit
Some systems (e.g. Linux) use enums for some symbols (like IPPROTO_IP)
authorGuido van Rossum <guido@python.org>
Thu, 28 May 1998 20:18:18 +0000 (20:18 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 28 May 1998 20:18:18 +0000 (20:18 +0000)
commit578de30fd71c592ff434d7fe238a1f657a3802f4
tree99cd4279cfcdaf29dccedf79ca02b72d8a60cf0d
parent617c1b0116891c3cbb6b10865e86d48e93fefdf0
Some systems (e.g. Linux) use enums for some symbols (like IPPROTO_IP)
so that our #ifdef test has the wrong effect.  Substitute hardcoded
values for some important symbols (but not for the whole range -- some
are pretty obscure so it's not worth it).
Modules/socketmodule.c