This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix in perl.h for compiling with g++.
authorSteve Peters <steve@fisharerojo.org>
Sat, 21 Oct 2006 16:17:58 +0000 (16:17 +0000)
committerSteve Peters <steve@fisharerojo.org>
Sat, 21 Oct 2006 16:17:58 +0000 (16:17 +0000)
p4raw-id: //depot/perl@29070

perl.h

diff --git a/perl.h b/perl.h
index bb6437d..93dad5b 100644 (file)
--- a/perl.h
+++ b/perl.h
@@ -3864,7 +3864,7 @@ typedef Sighandler_t Sigsave_t;
 #endif
 
 #ifdef USE_PERLIO
-void PerlIO_teardown(pTHX);
+EXTERN_C void PerlIO_teardown(pTHX);
 # ifdef USE_THREADS
 #  define PERLIO_INIT MUTEX_INIT(&PL_perlio_mutex)
 #  define PERLIO_TERM                          \