Fix in perl.h for compiling with g++.
Steve Peters [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                          \