diff --git a/include/osg/Matrixd b/include/osg/Matrixd index 318fbc775..b9e3940e1 100644 --- a/include/osg/Matrixd +++ b/include/osg/Matrixd @@ -327,7 +327,7 @@ class OSG_EXPORT Matrixd inline Vec4f operator* ( const Vec4f& v ) const; inline Vec4d operator* ( const Vec4d& v ) const; -#ifdef USE_DEPRECATED_API +#ifdef OSG_USE_DEPRECATED_API inline void set(const Quat& q) { makeRotate(q); } /// deprecated, replace with makeRotate(q) inline void get(Quat& q) const { q = getRotate(); } /// deprecated, replace with getRotate() #endif diff --git a/include/osg/Matrixf b/include/osg/Matrixf index 845c8a3a0..e9bcfbbc3 100644 --- a/include/osg/Matrixf +++ b/include/osg/Matrixf @@ -328,7 +328,7 @@ class OSG_EXPORT Matrixf inline Vec4f operator* ( const Vec4f& v ) const; inline Vec4d operator* ( const Vec4d& v ) const; -#ifdef USE_DEPRECATED_API +#ifdef OSG_USE_DEPRECATED_API inline void set(const Quat& q) { makeRotate(q); } inline void get(Quat& q) const { q = getRotate(); } #endif