httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ran...@apache.org
Subject cvs commit: httpd-apreq-2/src apreq_env.h
Date Tue, 17 Jun 2003 03:56:11 GMT
randyk      2003/06/16 20:56:11

  Modified:    src      apreq_env.h
  Log:
  For Win32, change declaration of apreq_env so that it's imported
  from within libapreq and exported from mod_apreq/libapreq_cgi. This
  is needed to ensure proper inheritance for the perl glue modules.
  
  Revision  Changes    Path
  1.15      +8 -0      httpd-apreq-2/src/apreq_env.h
  
  Index: apreq_env.h
  ===================================================================
  RCS file: /home/cvs/httpd-apreq-2/src/apreq_env.h,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- apreq_env.h	15 Jun 2003 05:25:37 -0000	1.14
  +++ apreq_env.h	17 Jun 2003 03:56:11 -0000	1.15
  @@ -55,7 +55,15 @@
    *
    */
   
  +#ifdef WIN32
  +#if defined(MOD_APREQ_EXPORTS) || defined(LIBAPREQ_CGI_EXPORTS)
  +__declspec(dllexport) const char apreq_env[];
  +#else
  +__declspec(dllimport) const char apreq_env[];
  +#endif
  +#else
   extern const char apreq_env[];
  +#endif
   
   #define APREQ_DECLARE_LOG(f) APREQ_DECLARE_NONSTD(void)(f)(const char *file, \
                                int line,  int level, apr_status_t status, \
  
  
  

Mime
View raw message