----- Original Message ----- From: "Tim Peters" <tim.one@comcast.net> > Quite a while ago I added this to pyport.h, hoping to do that someday: > > #if LONG_BIT != 8 * SIZEOF_LONG > /* 04-Oct-2000 LONG_BIT is apparently (mis)defined as 64 on some recent > * 32-bit platforms using gcc. We try to catch that here at compile-time > * rather than waiting for integer multiplication to trigger bogus > * overflows. > */ > #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc > config?)." > #endif ...which explains why I have to # define SIZEOF_LONG 4 explicitly to build any Cygwin extension modules.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4