This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix -p function and Fcntl::S_IFIFO constant under Microsoft VC compiler
authorJan Dubois <jand@activestate.com>
Mon, 27 Apr 2009 23:03:38 +0000 (16:03 -0700)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Tue, 28 Apr 2009 06:09:41 +0000 (08:09 +0200)
commit287a962e687f7bb371dc3759b32ea8df45f0ba62
tree38d15881e118b7cf36f2431fb186bc59a019cc7b
parentbb23f8d160852f98fe9c47e54ed245f0a8388664
Fix -p function and Fcntl::S_IFIFO constant under Microsoft VC compiler

Create S_IFIFO macro as an alias for _S_IFIFO if only the latter is being
defined by the standard headers (e.g. Microsoft Visual C++).

This is necessary to get the C<-p> function working, and also to define
the Fcntl::S_IFIFO constant.

See also http://bugs.activestate.com/show_bug.cgi?id=82665

Cheers,
-Jan

From 6386a37b103723e3c473119b95dd0b8edc59a1ed Mon Sep 17 00:00:00 2001
From: Jan Dubois <jand@activestate.com>
Date: Mon, 27 Apr 2009 15:44:23 -0700
Subject: [PATCH] Create S_IFIFO macro as an alias for _S_IFIFO if only the latter is being
 defined by the standard headers (e.g. Microsoft Visual C++).

This is necessary to get the C<-p> function working, and also to define
the Fcntl::S_IFIFO constant.

See also http://bugs.activestate.com/show_bug.cgi?id=82665

Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
perl.h
pod/perlport.pod