summaryrefslogtreecommitdiff
path: root/boost/compute/detail/path.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/compute/detail/path.hpp')
-rw-r--r--boost/compute/detail/path.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/compute/detail/path.hpp b/boost/compute/detail/path.hpp
index ec8760eaf9..d9c5afd182 100644
--- a/boost/compute/detail/path.hpp
+++ b/boost/compute/detail/path.hpp
@@ -30,7 +30,7 @@ static const std::string& path_delim()
// Path to appdata folder.
inline const std::string& appdata_path()
{
- #ifdef WIN32
+ #ifdef _WIN32
static const std::string appdata = detail::getenv("APPDATA")
+ path_delim() + "boost_compute";
#else