Update of /cvsroot/objecthandler/ObjectHandler/oh
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv5452/oh
Modified Files:
Tag: R000104f0-branch
objhandlerdefines.hpp
Log Message:
enforce version number checks
Index: objhandlerdefines.hpp
===================================================================
RCS file: /cvsroot/objecthandler/ObjectHandler/oh/objhandlerdefines.hpp,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -C2 -d -r1.2 -r1.2.2.1
*** objhandlerdefines.hpp 9 Jun 2006 18:58:27 -0000 1.2
--- objhandlerdefines.hpp 7 Aug 2006 13:37:12 -0000 1.2.2.1
***************
*** 26,29 ****
--- 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
|