httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/modules/experimental mod_mem_cache.c
Date Wed, 05 Dec 2001 15:01:15 GMT
trawick     01/12/05 07:01:15

  Modified:    modules/experimental mod_mem_cache.c
  Log:
  if compilation is doomed due to lack of thread support, fail
  the compile with a nicer message
  
  (hopefully this is only temporary?)
  
  Revision  Changes    Path
  1.11      +4 -0      httpd-2.0/modules/experimental/mod_mem_cache.c
  
  Index: mod_mem_cache.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_mem_cache.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- mod_mem_cache.c	2001/11/20 22:19:19	1.10
  +++ mod_mem_cache.c	2001/12/05 15:01:15	1.11
  @@ -62,6 +62,10 @@
   #include "ap_mpm.h"
   #include "apr_thread_mutex.h"
   
  +#if !APR_HAS_THREADS
  +#error This module does not currently compile unless you have a thread-capable APR. Sorry!
  +#endif
  +
   #define MAX_CACHE 5000
   module AP_MODULE_DECLARE_DATA mem_cache_module;
   
  
  
  

Mime
View raw message