- add platform.h.
- use shorter boilerplate while at it.
30 files changed