add the BT_ prefix for all #ifdef guards, to avoid conflicts with developers own header defines.
Fixes Issue 497
//license header
#ifndef BT_RIGIDBODY_H
#define BT_RIGIDBODY_H
class btRigidBody
{
};
#endif //BT_RIGIDBODY_H
This commit is contained in:
@@ -27,8 +27,8 @@
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef AOS_VECTORMATH_BULLET_CONVERT_H
|
||||
#define AOS_VECTORMATH_BULLET_CONVERT_H
|
||||
#ifndef BT_AOS_VECTORMATH_BULLET_CONVERT_H
|
||||
#define BT_AOS_VECTORMATH_BULLET_CONVERT_H
|
||||
|
||||
#include "PlatformDefinitions.h"
|
||||
#include "LinearMath/btVector3.h"
|
||||
@@ -70,4 +70,4 @@ inline Vectormath::Aos::Matrix3 getVmMatrix3(const btMatrix3x3& btMat)
|
||||
}
|
||||
|
||||
|
||||
#endif //AOS_VECTORMATH_BULLET_CONVERT_H
|
||||
#endif //BT_AOS_VECTORMATH_BULLET_CONVERT_H
|
||||
|
||||
Reference in New Issue
Block a user