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
Ilya Zakharevich
July 9, 2001 13:08
Re: [ID 20010703.002] [5.6.2-to-be] PerlIO is EVIL
Message ID:
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


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About