[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: more Perl ... fun
On Fri, Nov 08, 2002 at 05:22:33PM +1100, Peter Zelezny wrote:
> iperlsys.h:#define PerlDir_read(dir) readdir((dir))
> XSUB.h:# define readdir PerlDir_read
>
> Makes you wonder... Those perl headers really are macro hell.
*ugh*
> I've settled on the attached patch. Can someone confirm that it compiles
> and runs with perl 5.8.x?
Yep, no dramas at all. Works a treat! (-:
Bernard.
--
Bernard Blackham
bernard at blackham dot com dot au
Australian Linux Technical Conference 2003: http://www.linux.conf.au/
PGP signature