platform.h must to be local