httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <>
Subject Re: win32 and <Perl>
Date Sun, 15 Mar 1998 22:05:12 GMT
Ben Laurie wrote:

> Doug MacEachern wrote:
> >
> > This came up ages ago, but we never did anything about it.  As you know
> > mod_perl lets you write configuration files in Perl, but it uses some
> > configuration routines that are not "public".  For sometime, the <Perl>
> > config section code has been #ifdef'd out under win32.  Getting back to
> > it today, resulted in the attached patch.  vc++ still can't resolve
> > top_module and core_module, any clues to why?
> Yes - coz you must use API_VAR_EXPORT, not MODULE_VAR_EXPORT. The latter
> is for modules that want to export variables. The former is for core
> exports.

cool, that worked!  I also had to #define IS_MODULE in perl_config.c before
pulling in the apache .h files, so that defined turns into a dllimport.


View raw message