Perl portability

The Hermit Hacker scrappy at hub.org
Thu Sep 9 05:22:36 UTC 1999


On 8 Sep 1999, Russ Allbery wrote:

> There's a better way to implement Perl portability than what we're doing
> right now (rolling our own #define's).  The problem is that ppport.h
> (which I've checked into the development source) figures out what it has
> to do by including the Perl header patchlevel.h to determine Perl's
> version number.
> 
> This conflicts with INN's patchlevel.h.  :(
> 
> One fix is to re-order the -I options when compiling perl.c and hope that
> that will cause compilers to grab Perl's first.  Another fix (and a
> slightly cleaner one) would be to rename include/patchlevel.h to something
> like include/innversion.h.
> 
> Preferences?

innversion.h or just version.h sounds reasonable...

Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org 
primary: scrappy at hub.org           secondary: scrappy@{freebsd|postgresql}.org 



More information about the inn-workers mailing list