1 //---------------------------------------------------------------------------//
2 // Copyright (c) 2013-2014 Kyle Lutz <kyle.r.lutz@gmail.com>
4 // Distributed under the Boost Software License, Version 1.0
5 // See accompanying file LICENSE_1_0.txt or copy at
6 // http://www.boost.org/LICENSE_1_0.txt
8 // See http://boostorg.github.com/compute for more information.
9 //---------------------------------------------------------------------------//
11 #ifndef BOOST_COMPUTE_DETAIL_GETENV_HPP
12 #define BOOST_COMPUTE_DETAIL_GETENV_HPP
20 inline const char* getenv(const char *env_var)
23 # pragma warning(push)
24 # pragma warning(disable: 4996)
26 return std::getenv(env_var);
32 } // end detail namespace
33 } // end compute namespace
34 } // end boost namespace
36 #endif // BOOST_COMPUTE_DETAIL_GETENV_HPP