summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-11-20 12:12:00 +0000
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-11-20 12:12:00 +0000
commiteb1cfdd6b0a7e7a6918084a3828c98f88804c32d (patch)
tree6e94caef6b8490b0b0d6364260cbdfb1d3e53ed7 /perl.h
parentc5254dd600e35509100e643867b417e514781043 (diff)
downloadperl-eb1cfdd6b0a7e7a6918084a3828c98f88804c32d.tar.gz
Initial stab at IRIX configuration support for threading. Manually
applied parts of following patches: Subject: Perl 5.004_54 on IRIX Date: Wed, 19 Nov 1997 18:37:14 +0200 (EET) From: Jarkko Hietaniemi <jhi@iki.fi> Subject: Re: Perl 5.004_54 on IRIX Date: 19 Nov 1997 17:10:17 -0800 From: Scott Henry <scotth@sgi.com> p4raw-id: //depot/perl@271
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl.h b/perl.h
index 431ac96bfe..9facb910bf 100644
--- a/perl.h
+++ b/perl.h
@@ -113,7 +113,7 @@ register struct op *op asm(stringify(OP_IN_REGISTER));
# define STANDARD_C 1
#endif
-#if defined(__cplusplus) || defined(WIN32)
+#if defined(__cplusplus) || defined(WIN32) || defined(__sgi)
# define DONT_DECLARE_STD 1
#endif
@@ -1375,7 +1375,7 @@ EXT struct thread * thr; /* Currently executing (fake) thread */
/* VMS doesn't use environ array and NeXT has problems with crt0.o globals */
#if !defined(VMS) && !(defined(NeXT) && defined(__DYNAMIC__))
-#if !defined(DONT_DECLARE_STD) || (defined(__svr4__) && defined(__GNUC__) && defined(sun))
+#if !defined(DONT_DECLARE_STD) || (defined(__svr4__) && defined(__GNUC__) && defined(sun)) || defined(__sgi)
extern char ** environ; /* environment variables supplied via exec */
#endif
#else