httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <joe+gm...@sunstarsys.com>
Subject Re: [multi-env] including modperl_perl_includes?
Date Tue, 01 Mar 2005 07:24:31 GMT
Randy Kobes <randy@theoryx5.uwinnipeg.ca> writes:

> In the perl glue of the multi-env branch, I get an error
> on Win32 in compiling Apache2.xs due to some redefinitions
> needed on Win32 for uid_t and gid_t. These are contained
> within modperl_perl_includes.h; the following:
> ==========================================================
> Index: glue/perl/xsbuilder/apreq_xs_preperl.h
> ===================================================================
> --- glue/perl/xsbuilder/apreq_xs_preperl.h	(revision 155753)
> +++ glue/perl/xsbuilder/apreq_xs_preperl.h	(working copy)
> @@ -17,6 +17,8 @@
>  #ifndef APREQ_XS_PREPERL_H
>  #define APREQ_XS_PREPERL_H
>
> +#include "modperl_perl_includes.h"
> +
>  #define PERL_NO_GET_CONTEXT /* we want efficiency under ithreads */
>
>  /**
> ===================================================================
> will included it at the appropriate place for me.
>
> However, I'm not sure if all the additional things in this header
> might cause prolems later 

Right, I think it'd be better to just copy the needed
WIN32 stuff directly into apreq_xs_postperl.h.

-- 
Joe Schaefer


Mime
View raw message