With some help in irc (thanks erwin, markus!) and some googling, here's code 
that compiles for OSX 10.6 for new momentumPhase usage.

Jens Verwiebe can give final blessings, I'm just copypasting stuff and test it :)



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53604 954f8c5b-7b00-dc11-b283-0030488c597c