mirror of
https://github.com/Perl/perl5.git
synced 2026-01-26 08:38:23 +00:00
prevent warning noise on mingw-64 builds
The following was produced for every non-miniperl object built,
including for XS modules and the test builds done by
ExtUtils::MakeMaker etc
..\iperlsys.h:640:66: warning: 'struct utimbuf' declared inside parameter list
typedef int (*LPLIOUtime)(struct IPerlLIO*, const char*, struct utimbuf*);
^
..\iperlsys.h:640:66: warning: its scope is only this definition or declaration,
which is probably not what you want
This commit is contained in:
parent
e4105e89df
commit
4d0c87b775
@ -600,6 +600,8 @@ struct IPerlEnvInfo
|
|||||||
|
|
||||||
#if defined(PERL_IMPLICIT_SYS)
|
#if defined(PERL_IMPLICIT_SYS)
|
||||||
|
|
||||||
|
struct utimbuf; /* prevent gcc warning about the use below */
|
||||||
|
|
||||||
/* IPerlLIO */
|
/* IPerlLIO */
|
||||||
struct IPerlLIO;
|
struct IPerlLIO;
|
||||||
struct IPerlLIOInfo;
|
struct IPerlLIOInfo;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user