tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jni/native/include tcn.h
Date Sat, 28 May 2005 08:24:59 GMT
mturk       2005/05/28 01:24:59

  Modified:    jni/native/include tcn.h
  Log:
  Refuse to compile the native if APR_HAS_THREADS is missing.
  
  Revision  Changes    Path
  1.7       +5 -1      jakarta-tomcat-connectors/jni/native/include/tcn.h
  
  Index: tcn.h
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jni/native/include/tcn.h,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- tcn.h	27 May 2005 16:39:13 -0000	1.6
  +++ tcn.h	28 May 2005 08:24:59 -0000	1.7
  @@ -22,6 +22,10 @@
   #ifndef TCN_H
   #define TCN_H
   
  +#ifndef APR_HAS_THREADS
  +#error "Missing APR_HAS_THREADS support from APR."
  +#endif
  +
   #include <jni.h>
   
   #if defined(_DEBUG) || defined(DEBUG)
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message