Author: afester
Date: Fri Dec  2 10:17:34 2005
New Revision: 351789

URL: http://svn.apache.org/viewcvs?rev=351789&view=rev
Log:
LOGCXX-43: fix build on MS-Windows if LOG4CXX_HAVE_SMTP is set to 0

Modified:
    logging/log4cxx/trunk/src/class.cpp

Modified: logging/log4cxx/trunk/src/class.cpp
URL: 
http://svn.apache.org/viewcvs/logging/log4cxx/trunk/src/class.cpp?rev=351789&r1=351788&r2=351789&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/class.cpp (original)
+++ logging/log4cxx/trunk/src/class.cpp Fri Dec  2 10:17:34 2005
@@ -34,7 +34,7 @@
 #include <log4cxx/nt/outputdebugstringappender.h>
 #endif
 #include <log4cxx/rolling/rollingfileappender.h>
-#ifdef LOG4CXX_HAVE_SMTP
+#if LOG4CXX_HAVE_SMTP
 #include <log4cxx/net/smtpappender.h>
 #endif
 #include <log4cxx/net/socketappender.h>
@@ -142,7 +142,7 @@
         OutputDebugStringAppender::registerClass();
 #endif
         RollingFileAppender::registerClass();
-#ifdef LOG4CXX_HAVE_SMTP
+#if LOG4CXX_HAVE_SMTP
 //  TODO:
 //        SMTPAppender::registerClass();
 #endif


Reply via email to