31#ifndef LOG4CPLUS_INTERNAL_ENV_H
32#define LOG4CPLUS_INTERNAL_ENV_H
36#if defined (LOG4CPLUS_HAVE_PRAGMA_ONCE)
46#ifdef LOG4CPLUS_HAVE_SYS_TYPES_H
49#ifdef LOG4CPLUS_HAVE_UNISTD_H
64bool split_path (std::vector<tstring> & components, std::size_t & special,
75 return GetCurrentProcessId ();
78#elif defined (LOG4CPLUS_HAVE_GETPID)
bool split_path(std::vector< tstring > &components, std::size_t &special, tstring const &path)
Parse a path into path components.
bool parse_bool(bool &val, tstring const &str)
Parse a string as a boolean value.
void make_dirs(tstring const &file_path)
Makes directories leading to file.
bool get_env_var(tstring &value, tstring const &name)
Get environment variable value.
std::basic_string< tchar > tstring