From: Eric Fifer Date: Thu, 14 Dec 2000 13:41:29 +0000 (+0000) Subject: cygwin port X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2262cf14e8afd6344e2db8a34a016b75d306accc;p=p5sagit%2Fp5-mst-13.2.git cygwin port Message-Id: <200012141340.NAA54236@mailhost1.dircon.co.uk> When compiling modules the data item that is being imported from libperl.dll needs to be tagged as imported/shared data: extern __declspec(dllimport) PerlIO_funcs PerlIO_pending; p4raw-id: //depot/perl@8186 --- diff --git a/perliol.h b/perliol.h index 429ddab..04c7071 100644 --- a/perliol.h +++ b/perliol.h @@ -78,7 +78,8 @@ extern PerlIO_funcs PerlIO_unix; extern PerlIO_funcs PerlIO_perlio; extern PerlIO_funcs PerlIO_stdio; extern PerlIO_funcs PerlIO_crlf; -extern PerlIO_funcs PerlIO_pending; +/* The EXT is need for Cygwin -- but why only for _pending? --jhi */ +EXT PerlIO_funcs PerlIO_pending; #ifdef HAS_MMAP extern PerlIO_funcs PerlIO_mmap; #endif