In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/aa9621e6ae7442f957cee30769521f3030bd582f?hp=fc475f6a006d74b0a8b5f8825fba7f3814600a33>
- Log ----------------------------------------------------------------- commit aa9621e6ae7442f957cee30769521f3030bd582f Author: Tony Cook <[email protected]> Date: Thu Jan 22 15:59:23 2015 +1100 fix SDBM_File builds using gcc on Win32 b488d167b0 removed the -DPERL_STATIC_SYMS definition to allow imported perl variables to be seen correctly, but this meant gcc builds on Win32 considered: EXTCONST datum nullitem as an import. Change the EXTCONST to extern const so the declaration behaves as it did with -DPERL_STATIC_SYMS. ----------------------------------------------------------------------- Summary of changes: ext/SDBM_File/sdbm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/SDBM_File/sdbm.h b/ext/SDBM_File/sdbm.h index 2ada7a1..e7cf730 100644 --- a/ext/SDBM_File/sdbm.h +++ b/ext/SDBM_File/sdbm.h @@ -51,7 +51,7 @@ typedef struct { int dsize; } datum; -EXTCONST datum nullitem +extern const datum nullitem #ifdef DOINIT = {0, 0} #endif -- Perl5 Master Repository
