header file for version

cyrfer
Posts: 9
Joined: Mon Sep 12, 2011 6:42 pm

header file for version

Post by cyrfer »

I'm looking for a header file in Bullet that gives me the source code version so I can build my code against different versions of Bullet using preprocessor tests. I'm trying to compile against the SVN, and the function signature of 'ContactResultCallback::addSingleResult' changed, so I was wondering if a header file offered the version, for example:

Code: Select all

#if(BULLET_VERSION > 280 )
Also, are there notes about why the function signature changed for 'ContactResultCallback::addSingleResult' ?

Thanks for any help!