[Python-Dev] LONG_LONG (Was: [Python-checkins] python/dist/src/Misc NEWS,1.703,1.704)

Mark Hammond mhammond@skippinet.com.au
Mon, 07 Apr 2003 21:23:02 +1000


> > Rename LONG_LONG to PY_LONG_LONG. Fixes #710285.
> > 
> 
> What is the recommended way to port code like this to Python 2.3,
> and still remain compatible with 2.2?

#if defined(PY_LONG_LONG) && !defined(LONG_LONG)
#define LONG_LONG PY_LONG_LONG /* grrr :( */
#endif

? <wink>

This change does break things.

Mark.