You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-cvs@httpd.apache.org by ra...@apache.org on 2005/10/06 05:10:12 UTC

svn commit: r306508 - /httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/Param.xs

Author: randyk
Date: Wed Oct  5 20:10:06 2005
New Revision: 306508

URL: http://svn.apache.org/viewcvs?rev=306508&view=rev
Log:
Fix compile problems on Win32 without PERL_IMPLICIT_SYS
related to link being an unresolved symbol (Steve Hay)

Modified:
    httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/Param.xs

Modified: httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/Param.xs
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/Param.xs?rev=306508&r1=306507&r2=306508&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/Param.xs (original)
+++ httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/Param.xs Wed Oct  5 20:10:06 2005
@@ -1,3 +1,14 @@
+/* On Win32 without PERL_IMPLICIT_SYS, PerlLIO_link is #defined as
+ * link, which in turn is #defined as win32_link, but mp2's 
+ * modperl_perl_unembed.h #undefs link, leaving link as an unresolved 
+ * symbol when linking Param.dll. */
+#ifdef WIN32
+#ifndef PERL_IMPLICIT_SYS
+#undef PerlLIO_link
+#define PerlLIO_link(oldname, newname) win32_link(oldname, newname)
+#endif
+#endif
+
 MODULE = APR::Request::Param      PACKAGE = APR::Request::Param
 
 SV *