From: Eric Fifer Date: Thu, 14 Dec 2000 13:41:29 +0000 (+0000) Subject: cygwin port X-Git-Tag: accepted/trunk/20130322.191538~33280 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2262cf14e8afd6344e2db8a34a016b75d306accc;p=platform%2Fupstream%2Fperl.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