Warning, file /include/boost/compute/detail/getenv.hpp was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef BOOST_COMPUTE_DETAIL_GETENV_HPP
0012 #define BOOST_COMPUTE_DETAIL_GETENV_HPP
0013
0014 #include <cstdlib>
0015
0016 namespace boost {
0017 namespace compute {
0018 namespace detail {
0019
0020 inline const char* getenv(const char *env_var)
0021 {
0022 #ifdef _MSC_VER
0023 # pragma warning(push)
0024 # pragma warning(disable: 4996)
0025 #endif
0026 return std::getenv(env_var);
0027 #ifdef _MSC_VER
0028 # pragma warning(pop)
0029 #endif
0030 }
0031
0032 }
0033 }
0034 }
0035
0036 #endif