diff options
author | Marcus Holland-Moritz <mhx-perl@gmx.net> | 2009-01-23 22:11:38 +0100 |
---|---|---|
committer | Marcus Holland-Moritz <mhx-perl@gmx.net> | 2009-01-23 22:11:38 +0100 |
commit | cf5a8da6882fed918a9d80d63b4aec653697b040 (patch) | |
tree | 5a7f4e53c8b419aa39e5fe3df524f5b0475c4af6 /av.c | |
parent | ac2e3cea0e22de754d302c36777a64e04fb938ce (diff) | |
download | perl-cf5a8da6882fed918a9d80d63b4aec653697b040.tar.gz |
Ensure that C++ modules can be built against a perl configured with -DPERL_GLOBAL_STRUCT_PRIVATE.
Perl_GetVarsPrivate() could not be seen from within a module built
with a C++ compiler if the perl binary was built with a C compiler,
as the prototype was not 'extern "C"' for C++.
The change moves the EXTERN_C defines so they can be used for the
prototype of Perl_GetVarsPrivate().
Diffstat (limited to 'av.c')
0 files changed, 0 insertions, 0 deletions