httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Kobes <ra...@theoryx5.uwinnipeg.ca>
Subject [multi-env] including modperl_perl_includes?
Date Tue, 01 Mar 2005 05:14:57 GMT
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 - would it be better just to
copy the
   #ifdef WIN32
   #  define uid_t perl_uid_t
   #  define gid_t perl_gid_t
   #  ifdef exit
   #    define perl_exit exit
   #    undef exit
   #  endif
   #endif
here instead?

-- 
best regards,
randy

Mime
View raw message