[PD-dev] platform macros __APPLE__, __linux__, etc.