[PD-dev] [PATCH 1/3] use platform auto macros: USEAPI_* macros instead of UNIX macro so that