Update cPlatform.cpp