Author: costin Date: Thu Oct 27 19:32:35 2005 New Revision: 329043 URL: http://svn.apache.org/viewcvs?rev=329043&view=rev Log: On some systems, LOG_WARN doesn't exist - it is called LOG_WARNING. ( for example - current versions of Suse, Redhat )
Modified: tomcat/connectors/trunk/jni/native/os/unix/system.c Modified: tomcat/connectors/trunk/jni/native/os/unix/system.c URL: http://svn.apache.org/viewcvs/tomcat/connectors/trunk/jni/native/os/unix/system.c?rev=329043&r1=329042&r2=329043&view=diff ============================================================================== --- tomcat/connectors/trunk/jni/native/os/unix/system.c (original) +++ tomcat/connectors/trunk/jni/native/os/unix/system.c Thu Oct 27 19:32:35 2005 @@ -38,6 +38,10 @@ #include <syslog.h> #include <stdarg.h> +#ifndef LOG_WARN +#define LOG_WARN LOG_WARNING +#endif + #if defined(sun) #define MAX_PROC_PATH_LEN 64 #define MAX_CPUS 512 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]