summaryrefslogtreecommitdiff
path: root/cygwin
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2006-10-30 00:22:00 +0000
committerSteve Peters <steve@fisharerojo.org>2006-10-30 00:22:00 +0000
commit667e29483278676092af95a151e7ae7d8eb1d304 (patch)
tree1168e9c990fd84d85dcd080c666df5a75aefcb22 /cygwin
parent802134916c56985ba8dc700565240474646eb9f7 (diff)
downloadperl-667e29483278676092af95a151e7ae7d8eb1d304.tar.gz
Changes to get perl to compile with g++ on Cygwin. Some additional
changes will be needed to get it to link though. p4raw-id: //depot/perl@29142
Diffstat (limited to 'cygwin')
-rw-r--r--cygwin/cygwin.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/cygwin/cygwin.c b/cygwin/cygwin.c
index 68a6fcd60b..69cb5e40e3 100644
--- a/cygwin/cygwin.c
+++ b/cygwin/cygwin.c
@@ -57,7 +57,7 @@ do_aspawn (SV *really, void **mark, void **sp)
while (++mark <= sp)
if (*mark)
- *a++ = SvPVx(*mark, n_a);
+ *a++ = SvPVx((SV *)*mark, n_a);
else
*a++ = "";
*a = Nullch;
@@ -137,7 +137,6 @@ do_spawn (char *cmd)
}
/* see also Cwd.pm */
-static
XS(Cygwin_cwd)
{
dXSARGS;
@@ -156,7 +155,6 @@ XS(Cygwin_cwd)
XSRETURN_UNDEF;
}
-static
XS(XS_Cygwin_pid_to_winpid)
{
dXSARGS;
@@ -175,7 +173,6 @@ XS(XS_Cygwin_pid_to_winpid)
XSRETURN_UNDEF;
}
-static
XS(XS_Cygwin_winpid_to_pid)
{
dXSARGS;