diff --git a/include/eigenpy/fwd.hpp b/include/eigenpy/fwd.hpp
index 44c74cd0cb47fed514456cc4a7b23c58f267c273..5794f5233ba449b70c64c60005e9c06b485688cb 100644
--- a/include/eigenpy/fwd.hpp
+++ b/include/eigenpy/fwd.hpp
@@ -95,10 +95,10 @@
 
 #ifdef EIGENPY_WITH_CXX11_SUPPORT
 #include <memory>
-#define EIGENPY_CLASS_HOLDER_TYPE(T) ::std::shared_ptr<T>
+#define EIGENPY_SHARED_PTR_HOLDER_TYPE(T) ::std::shared_ptr<T>
 #else
 #include <boost/shared_ptr.hpp>
-#define EIGENPY_CLASS_HOLDER_TYPE(T) ::boost::shared_ptr<T>
+#define EIGENPY_SHARED_PTR_HOLDER_TYPE(T) ::boost::shared_ptr<T>
 #endif
 
 namespace eigenpy {
diff --git a/include/eigenpy/quaternion.hpp b/include/eigenpy/quaternion.hpp
index 5fc4c51ca3052a69979e1bb2abfed7d3e3f82cf5..a1210137ab31fb706cbe1f0fc1d5838f330568d0 100644
--- a/include/eigenpy/quaternion.hpp
+++ b/include/eigenpy/quaternion.hpp
@@ -351,7 +351,7 @@ class QuaternionVisitor
  public:
   static void expose() {
 #if BOOST_VERSION / 100 % 1000 < 71
-    typedef EIGENPY_CLASS_HOLDER_TYPE(Quaternion) HolderType;
+    typedef EIGENPY_SHARED_PTR_HOLDER_TYPE(Quaternion) HolderType;
 #else
     typedef ::boost::python::detail::not_specified HolderType;
 #endif