This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c2a033
)
regcomp.c extern -> EXTERN_C
author
Daniel Dragan
<bulk88@hotmail.com>
Tue, 19 Nov 2013 01:10:04 +0000
(20:10 -0500)
committer
Tony Cook
<tony@develop-help.com>
Wed, 20 Nov 2013 00:34:46 +0000
(11:34 +1100)
Otherwise re wont build on Win32 VC6 C++ mode.
regcomp.c
patch
|
blob
|
blame
|
history
diff --git
a/regcomp.c
b/regcomp.c
index
e78d2fc
..
9c47bd9
100644
(file)
--- 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