This is completely untested, but should work in theory, as it's just adding a couple defines according to the specs.