X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl.h;h=4d3bfab553a4930c7b6a5e5a428342bb83b0424e;hb=023b4a438f77da7c7cd59a929c7e412fc387a93f;hp=ab7742252dff8de89a2a39b0a1ea3cbf35df11f0;hpb=dceaafec476d9ac6fd08657bd75c769d1bd7f05e;p=p5sagit%2Fp5-mst-13.2.git diff --git a/perl.h b/perl.h index ab77422..4d3bfab 100644 --- a/perl.h +++ b/perl.h @@ -254,7 +254,7 @@ register struct op *Perl_op asm(stringify(OP_IN_REGISTER)); #if defined(HASVOLATILE) || defined(STANDARD_C) # ifdef __cplusplus -# define VOL // to temporarily suppress warnings +# define VOL /* to temporarily suppress warnings */ # else # define VOL volatile # endif @@ -425,7 +425,7 @@ int usleep(unsigned int); # define MYSWAP #endif -/* Cannot include embed.h here on Win32 as win32.h has not +/* Cannot include embed.h here on Win32 as win32.h has not yet been included and defines some config variables e.g. HAVE_INTERP_INTERN */ #if !defined(PERL_FOR_X2P) && !(defined(WIN32)||defined(VMS)) @@ -3943,7 +3943,11 @@ int flock(int fd, int op); #if O_TEXT != O_BINARY /* If you have different O_TEXT and O_BINARY and you are a CLRF shop, * that is, you are somehow DOSish. */ -# if defined(__BEOS__) +# if defined(__BEOS__) || defined(__VOS__) + /* BeOS has O_TEXT != O_BINARY but O_TEXT and O_BINARY have no effect; + * BeOS is always UNIXoid (LF), not DOSish (CRLF). */ + /* VOS has O_TEXT != O_BINARY, and they have effect, + * but VOS always uses LF, never CRLF. */ /* If you have O_TEXT different from your O_BINARY but you still are * not a CRLF shop. */ # undef PERLIO_USING_CRLF @@ -4097,7 +4101,7 @@ extern void moncontrol(int); HAS_STRUCT_CMSGHDR HAS_NL_LANGINFO - + HAS_DIRFD so that Configure picks them up. */