Mailing List Archive

svn commit: r1763583 - in /perl/modperl/trunk: Changes src/modules/perl/modperl_env.h
Author: stevehay
Date: Thu Oct 6 12:55:45 2016
New Revision: 1763583

URL: http://svn.apache.org/viewvc?rev=1763583&view=rev
Log:
Declare MP_vtbl_env and MP_vtbl_envelem as 'extern' to fix linker errors on OSX/Darwin

Patch by Michael Schout <mschout@gkg.net>.

Modified:
perl/modperl/trunk/Changes
perl/modperl/trunk/src/modules/perl/modperl_env.h

Modified: perl/modperl/trunk/Changes
URL: http://svn.apache.org/viewvc/perl/modperl/trunk/Changes?rev=1763583&r1=1763582&r2=1763583&view=diff
==============================================================================
--- perl/modperl/trunk/Changes (original)
+++ perl/modperl/trunk/Changes Thu Oct 6 12:55:45 2016
@@ -10,6 +10,9 @@ Also refer to the Apache::Test changes l

=over 3

+Declare MP_vtbl_env and MP_vtbl_envelem as 'extern' to fix linker errors on
+OSX/Darwin. [Michael Schout <mschout@gkg.net>]
+
=item 2.0.10-rc1

Automatically select the appropriate c89 option when modperl is being

Modified: perl/modperl/trunk/src/modules/perl/modperl_env.h
URL: http://svn.apache.org/viewvc/perl/modperl/trunk/src/modules/perl/modperl_env.h?rev=1763583&r1=1763582&r2=1763583&view=diff
==============================================================================
--- perl/modperl/trunk/src/modules/perl/modperl_env.h (original)
+++ perl/modperl/trunk/src/modules/perl/modperl_env.h Thu Oct 6 12:55:45 2016
@@ -62,8 +62,8 @@ void modperl_env_init(pTHX);

void modperl_env_unload(pTHX);

-MGVTBL MP_vtbl_env;
-MGVTBL MP_vtbl_envelem;
+extern MGVTBL MP_vtbl_env;
+extern MGVTBL MP_vtbl_envelem;

#endif /* MODPERL_ENV_H */