summaryrefslogtreecommitdiff
path: root/perl.h
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 /perl.h
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 'perl.h')
-rw-r--r--perl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index 4cb517d390..d708f81706 100644
--- a/perl.h
+++ b/perl.h
@@ -1177,6 +1177,10 @@ EXTERN_C char *crypt(const char *, const char *);
EXTERN_C char **environ;
#endif
+#if defined(__CYGWIN__) && defined(__cplusplus)
+EXTERN_C char *crypt(const char *, const char *);
+#endif
+
#ifdef SETERRNO
# undef SETERRNO /* SOCKS might have defined this */
#endif