diff options
author | Steve Peters <steve@fisharerojo.org> | 2006-10-30 00:22:00 +0000 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2006-10-30 00:22:00 +0000 |
commit | 667e29483278676092af95a151e7ae7d8eb1d304 (patch) | |
tree | 1168e9c990fd84d85dcd080c666df5a75aefcb22 /perl.h | |
parent | 802134916c56985ba8dc700565240474646eb9f7 (diff) | |
download | perl-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.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |