You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by co...@apache.org on 2005/10/28 04:32:38 UTC

svn commit: r329043 - /tomcat/connectors/trunk/jni/native/os/unix/system.c

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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org