summaryrefslogtreecommitdiff
path: root/unixish.h
diff options
context:
space:
mode:
authorFifer, Eric <EFifer@sanwaint.com>1999-07-30 19:31:48 +0100
committerGurusamy Sarathy <gsar@cpan.org>1999-08-01 20:49:06 +0000
commit6dce6b70b85ef184fc8b4432d2436d1be5f0b117 (patch)
treeda1ad9fa7dd8997755758f82d4b17acaac3739c9 /unixish.h
parent3ed82cfc5b0f2ba85118bedae2541af7b2b2c647 (diff)
downloadperl-6dce6b70b85ef184fc8b4432d2436d1be5f0b117.tar.gz
cygwin update
Message-Id: <71E287AB0D94D111BBD600600849EC8185EE06@POST> Subject: [ID 19990730.003] PATCH] perl5.005_58 cygwin port p4raw-id: //depot/perl@3855
Diffstat (limited to 'unixish.h')
-rw-r--r--unixish.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/unixish.h b/unixish.h
index eab2de1643..2d37fbe166 100644
--- a/unixish.h
+++ b/unixish.h
@@ -122,7 +122,11 @@
# ifdef POSIX_BC
# define PERL_SYS_INIT(c,v) sigignore(SIGFPE); MALLOC_INIT
# else
-# define PERL_SYS_INIT(c,v) MALLOC_INIT
+# ifdef CYGWIN
+# define PERL_SYS_INIT(c,v) Perl_my_setenv_init(&environ); MALLOC_INIT
+# else
+# define PERL_SYS_INIT(c,v) MALLOC_INIT
+# endif
# endif
#endif
#endif