With some help in irc (thanks erwin, markus!) and some googling, here's code
authorTon Roosendaal <ton@blender.org>
Sun, 6 Jan 2013 12:49:32 +0000 (12:49 +0000)
committerTon Roosendaal <ton@blender.org>
Sun, 6 Jan 2013 12:49:32 +0000 (12:49 +0000)
commit0fd4a102e0f312daf8c56fd22e611feeeaf7a992
tree2b8b8907309caf16a93e185ef58b48a62eb3cb27
parent927b2645d4f84a56d9c8b434415edf1eb279c43e
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 :)
intern/ghost/intern/GHOST_SystemCocoa.mm