ndnboost: Also rename BOOST_ to NDNBOOST_
diff --git a/include/ndnboost/concept/usage.hpp b/include/ndnboost/concept/usage.hpp
index 085cdd9..dfedbc0 100644
--- a/include/ndnboost/concept/usage.hpp
+++ b/include/ndnboost/concept/usage.hpp
@@ -1,8 +1,8 @@
// Copyright David Abrahams 2006. Distributed under the Boost
// Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-#ifndef BOOST_CONCEPT_USAGE_DWA2006919_HPP
-# define BOOST_CONCEPT_USAGE_DWA2006919_HPP
+#ifndef NDNBOOST_CONCEPT_USAGE_DWA2006919_HPP
+# define NDNBOOST_CONCEPT_USAGE_DWA2006919_HPP
# include <ndnboost/concept/assert.hpp>
# include <ndnboost/detail/workaround.hpp>
@@ -10,9 +10,9 @@
namespace ndnboost { namespace concepts {
-# if BOOST_WORKAROUND(__GNUC__, == 2)
+# if NDNBOOST_WORKAROUND(__GNUC__, == 2)
-# define BOOST_CONCEPT_USAGE(model) ~model()
+# define NDNBOOST_CONCEPT_USAGE(model) ~model()
# else
@@ -22,17 +22,17 @@
~usage_requirements() { ((Model*)0)->~Model(); }
};
-# if BOOST_WORKAROUND(__GNUC__, <= 3)
+# if NDNBOOST_WORKAROUND(__GNUC__, <= 3)
-# define BOOST_CONCEPT_USAGE(model) \
+# define NDNBOOST_CONCEPT_USAGE(model) \
model(); /* at least 2.96 and 3.4.3 both need this :( */ \
- BOOST_CONCEPT_ASSERT((ndnboost::concepts::usage_requirements<model>)); \
+ NDNBOOST_CONCEPT_ASSERT((ndnboost::concepts::usage_requirements<model>)); \
~model()
# else
-# define BOOST_CONCEPT_USAGE(model) \
- BOOST_CONCEPT_ASSERT((ndnboost::concepts::usage_requirements<model>)); \
+# define NDNBOOST_CONCEPT_USAGE(model) \
+ NDNBOOST_CONCEPT_ASSERT((ndnboost::concepts::usage_requirements<model>)); \
~model()
# endif
@@ -41,4 +41,4 @@
}} // namespace ndnboost::concepts
-#endif // BOOST_CONCEPT_USAGE_DWA2006919_HPP
+#endif // NDNBOOST_CONCEPT_USAGE_DWA2006919_HPP