This a first rough pass just to get people started. Use AAF_NO_STRUCTURED_STORAGE=true AAFPLATFORM=x86_64Darwin to build a structured storage free 64-bit build.
Some of the changes to make this work include changing SCODE and HRESULT from int to aafInt32. Strictly speaking, according to MSDN, SCODE is supposed to be an unsigned 32-bit in. But because HRESULT and SCODE are compared in a lot of places we get signed/unsigned warnings/errors if we do that, so we've kept SCODE as a signed 32-bit int.