summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2006-09-13 23:19:04 +0300
committerSteve Peters <steve@fisharerojo.org>2006-09-14 01:36:13 +0000
commit7e827271d645402804a156e9a8b9edddac65bd6a (patch)
tree727012241e3f3db6dad2d3b036e427b11743a0c0 /perl.h
parentf7a67166576aeda0086a243ed96f9d5fecb33772 (diff)
downloadperl-7e827271d645402804a156e9a8b9edddac65bd6a.tar.gz
(1) g++ 4.x (or Mac OS X) (2) Solaris g++ or CC
Message-ID: <45083D88.7050207@iki.fi> Plus a tweak to the name of CC. p4raw-id: //depot/perl@28842
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl.h b/perl.h
index 5dab0f8ebf..0f71630819 100644
--- a/perl.h
+++ b/perl.h
@@ -1150,15 +1150,16 @@ int sockatmark(int);
# endif
#endif
-#if defined(__osf__) && defined(__cplusplus) && !defined(_XOPEN_SOURCE_EXTENDED)
+#if defined(__osf__) && defined(__cplusplus) && !defined(_XOPEN_SOURCE_EXTENDED) /* Tru64 "cxx" (C++), see hints/dec_osf.sh for why the _XOPEN_SOURCE_EXTENDED cannot be defined. */
EXTERN_C int fchdir(int);
EXTERN_C int flock(int, int);
EXTERN_C int fseeko(FILE *, off_t, int);
EXTERN_C off_t ftello(FILE *);
#endif
-#if defined(__SUNPRO_CC)
+#if defined(__SUNPRO_CC) /* SUNWspro CC (C++) */
EXTERN_C char *crypt(const char *, const char *);
+EXTERN_C char **environ;
#endif
#ifdef SETERRNO