develooper Front page | perl.perl5.porters | Postings from July 2001

Re: [ID 20010703.002] [5.6.2-to-be] PerlIO is EVIL

Thread Previous | Thread Next
From:
Ilya Zakharevich
Date:
July 9, 2001 13:08
Subject:
Re: [ID 20010703.002] [5.6.2-to-be] PerlIO is EVIL
Message ID:
20010709160827.A20128@math.ohio-state.edu
On Mon, Jul 09, 2001 at 09:10:14AM +0100, Nick Ing-Simmons wrote:
> >> Querying the state needs Configure-oid probing to see how the CRTL flags 
> >> that state.
> >
> >No need to Configure.  There is win32ish.h etc.
> 
> It is Configure-oid - because Borland, VC++ and Mingw32 all have different 
> header files - so you at least need a 3-way #ifdef nest.

For two macros: get-state/set-state?  Since set-state is already
covered (for binmode()), all one needs is to add get-state to already
existing #ifdefs.

Even if no #ifdef nest already exists, it is trivial to add.  It is
not that tens of different new Win32ish compilers will jump into
existence.

Ilya

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About