30 #ifndef CPP_COMMON_PLATFORM_H_ 31 #define CPP_COMMON_PLATFORM_H_ 47 char* env_var_cstr = NULL;
49 _dupenv_s(&env_var_cstr, NULL,environment_variable);
51 env_var_cstr = getenv(environment_variable);
54 str = std::string(env_var_cstr);
60 str = std::string(
"");
bool get_environment_variable(std::string &str, const char *environment_variable)