Update of /cvsroot/objecthandler/ObjectHandler/oh
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv1122/oh
Modified Files:
Tag: R000104f0-branch
logger.hpp objhandlerdefines.hpp
Log Message:
simpler processing of log4cxx header & version number check
Index: objhandlerdefines.hpp
===================================================================
RCS file: /cvsroot/objecthandler/ObjectHandler/oh/objhandlerdefines.hpp,v
retrieving revision 1.2.2.1
retrieving revision 1.2.2.2
diff -C2 -d -r1.2.2.1 -r1.2.2.2
*** objhandlerdefines.hpp 7 Aug 2006 13:37:12 -0000 1.2.2.1
--- objhandlerdefines.hpp 8 Aug 2006 13:20:57 -0000 1.2.2.2
***************
*** 26,36 ****
#endif
- // if the include below fails, it means you're using the wrong
- // version of log4cxx.
- #include <log4cxx/log4cxxdefines.h>
- #if LOG4CXX_VERSION != 0x030907f1
- #error using an incorrect version of log4cxx, please update.
- #endif
-
//! version string
#ifdef _DEBUG
--- 26,29 ----
Index: logger.hpp
===================================================================
RCS file: /cvsroot/objecthandler/ObjectHandler/oh/logger.hpp,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -C2 -d -r1.1 -r1.1.2.1
*** logger.hpp 19 May 2006 15:12:41 -0000 1.1
--- logger.hpp 8 Aug 2006 13:20:57 -0000 1.1.2.1
***************
*** 30,33 ****
--- 30,40 ----
#endif
+ // if the include below fails, it means you're using the wrong
+ // version of log4cxx.
+ #include <log4cxx/log4cxxdefines.h>
+ #if LOG4CXX_VERSION != 0x030907f1
+ #error using an incorrect version of log4cxx, please update.
+ #endif
+
#include <log4cxx/logger.h>
#include <log4cxx/simplelayout.h>
|