From: Daniel Dragan Date: Tue, 19 Nov 2013 01:10:04 +0000 (-0500) Subject: regcomp.c extern -> EXTERN_C X-Git-Tag: v5.19.6~7 X-Git-Url: https://perl5.git.perl.org/perl5.git/commitdiff_plain/afda64e875a44be5497e50f703af44b9512fb61f?hp=2c2a0333a3ed741936061d62c34841ac818962dc regcomp.c extern -> EXTERN_C Otherwise re wont build on Win32 VC6 C++ mode. --- diff --git a/regcomp.c b/regcomp.c index e78d2fc..9c47bd9 100644 --- a/regcomp.c +++ b/regcomp.c @@ -81,7 +81,7 @@ #define REG_COMP_C #ifdef PERL_IN_XSUB_RE # include "re_comp.h" -extern const struct regexp_engine my_reg_engine; +EXTERN_C const struct regexp_engine my_reg_engine; #else # include "regcomp.h" #endif