develooper Front page | perl.perl6.internals | Postings from January 2002

RE: ParrotIO : Please test this [PATCH] for breakage

Thread Previous
From:
Dan Sugalski
Date:
January 1, 2002 19:06
Subject:
RE: ParrotIO : Please test this [PATCH] for breakage
Message ID:
5.1.0.14.2.20020101220109.03762720@pop.sidhe.org
At 09:46 PM 1/1/2002 -0500, Melvin Smith wrote:

>> > >io\io_os.c(127) : error C2065: 'F_GETFL' : undeclared
>> > identifier NMAKE
>> > >: fatal error U1077: 'cl' : return code '0x2' Stop.
>
>With the #if 0 you can get a compile, can you test this simple pasm code?
>
>
>         puts "This is STDOUT\n"
>         end
>
>
>
>Btw, I checked over Perl5 source, they of course use the HAS_FCNTL
>def which is gathered by the Configure.pl and I won't open that can of
>worms here again.  I would bet to build Perl5 cleanly on Win32 you
>need <fcntl.h> but I'm only guessing.

I don't think that's so, but I'm not sure.

I think we'd best not assume the existence of fcntl or ioctl. Their 
function's useful, but it should be wrapped in a platform-overridable 
package. (Won't work on VMS, for example)

					Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
dan@sidhe.org                         have teddy bears and even
                                      teddy bears get drunk


Thread Previous


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