Update of /cvsroot/mockpp/mockpp/mockpp
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16313/mockpp
Modified Files:
mockpp.h
Log Message:
optionally disable namespace
Index: mockpp.h
===================================================================
RCS file: /cvsroot/mockpp/mockpp/mockpp/mockpp.h,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -d -r1.79 -r1.80
--- mockpp.h 17 Mar 2006 08:42:46 -0000 1.79
+++ mockpp.h 19 Mar 2006 11:09:36 -0000 1.80
@@ -267,8 +267,8 @@
* Value representing an @p unlimited number.
*/
-#ifdef HAVE_LIMITS
-# define MOCKPP_UNLIMITED (MOCKPP_STD_NS::numeric_limits<unsigned>::max())
+#if defined(HAVE_LIMITS) && !defined (MOCKPP_NO_STD_NUMERICLIMITS)
+# define MOCKPP_UNLIMITED (std::numeric_limits<unsigned>::max())
#else
# define MOCKPP_UNLIMITED (UINT_MAX)
#endif
@@ -581,4 +581,10 @@
* Makes member public for Borland BCB5 otherwise protected.
*/
+/** @def MOCKPP_NO_TYPENAME_FOR_STL_NS
+ * @ingroup grp_config
+ * Using typename yields an error in certain cases when stl is in
+ * global the namespace.
+ */
+
#endif // MOCKPP_H
|