httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@apache.org
Subject cvs commit: httpd-2.0/modules/generators mod_info.c
Date Thu, 17 May 2001 13:58:58 GMT
stoddard    01/05/17 06:58:57

  Modified:    modules/generators mod_info.c
  Log:
  Get the Request Phase Participation change compiling on Windows.
  
  Revision  Changes    Path
  1.37      +11 -1     httpd-2.0/modules/generators/mod_info.c
  
  Index: mod_info.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/generators/mod_info.c,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- mod_info.c	2001/05/15 04:25:15	1.36
  +++ mod_info.c	2001/05/17 13:58:52	1.37
  @@ -257,7 +257,17 @@
       int nOrder;
   } hook_struct_t;
   
  -typedef apr_array_header_t * (*hook_get_t)(void);
  +/*
  + * hook_get_t is a pointer to a function that takes void as an argument and
  + * returns a pointer to an apr_array_header_t.  The nasty WIN32 ifdef
  + * is required to account for the fact that the ap_hook* calls all use
  + * STDCALL calling convention. 
  + */
  +typedef apr_array_header_t * ( 
  +#ifdef WIN32
  +__stdcall 
  +#endif
  +* hook_get_t)(void);
   
   typedef struct {
       const char *name;
  
  
  

Mime
View raw message