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
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to