Update q_platform.h