You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by st...@apache.org on 2013/11/01 18:57:51 UTC
svn commit: r1538006 -
/perl/modperl/branches/httpd24threading/xs/APR/aprext/modperl_dummy.c
Author: stevehay
Date: Fri Nov 1 17:57:51 2013
New Revision: 1538006
URL: http://svn.apache.org/r1538006
Log:
Hack to restore the build of APR::* modules. The httpd24threading branch now builds for me on Windows/VS2010 against httpd-2.4.4/perl-5.19.4 (default debugging mode build configurations).
Modified:
perl/modperl/branches/httpd24threading/xs/APR/aprext/modperl_dummy.c
Modified: perl/modperl/branches/httpd24threading/xs/APR/aprext/modperl_dummy.c
URL: http://svn.apache.org/viewvc/perl/modperl/branches/httpd24threading/xs/APR/aprext/modperl_dummy.c?rev=1538006&r1=1538005&r2=1538006&view=diff
==============================================================================
--- perl/modperl/branches/httpd24threading/xs/APR/aprext/modperl_dummy.c (original)
+++ perl/modperl/branches/httpd24threading/xs/APR/aprext/modperl_dummy.c Fri Nov 1 17:57:51 2013
@@ -30,3 +30,22 @@ module AP_MODULE_DECLARE_DATA perl_modul
NULL, /* table of config file commands */
NULL, /* register hooks */
};
+
+/* FIXME: These functions are called from modperl_trace() in libaprext.lib
+ * but are normally defined in mod_perl.c which can't be included.
+ */
+
+int modperl_is_running(void)
+{
+ return 0;
+}
+
+int modperl_threads_started(void)
+{
+ return 0;
+}
+
+int modperl_threaded_mpm(void)
+{
+ return 0;
+}