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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to