[Patches] Patch to import.c
Greg Stein
gstein@lyra.org
Sat, 3 Jun 2000 03:26:25 -0700 (PDT)
On Sat, 3 Jun 2000, Jack Jansen wrote:
> Recently, Trent Mick <trentm@activestate.com> said:
> > you could use:
> >
> > #ifndef something
> > #elif defined(something_else)
> > #endif
>
> Is #elif nowadays supported by all compilers? I still tend to stick
> with nested #ifdefs, just as I still put my prototypes within
> conditional code, so as not to break stuff for people with
> old-fashioned compilers.
Python 1.6 is targeted at ANSI compilers. Heck, if you're feeling
particularly brain-dead one day, and just want something to do, then go
remove all the Py_PROTO macros :-)
Cheers,
-g
--
Greg Stein, http://www.lyra.org/