diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-12-15 11:25:28 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-12-15 11:25:28 +0000 |
| commit | f803bc6d0d1f7e9ede4f11cb564de298ba58daab (patch) | |
| tree | 7318ee3ae23db90fff3071eb6e26aae37a58fb3f /src/lib/cross.cc | |
| parent | a6aa6b64b5a5e4c9263e4a519277cb5db213ba94 (diff) | |
Try to fix Windows build.
Diffstat (limited to 'src/lib/cross.cc')
| -rw-r--r-- | src/lib/cross.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/cross.cc b/src/lib/cross.cc index b9b215303..e3fb22f39 100644 --- a/src/lib/cross.cc +++ b/src/lib/cross.cc @@ -471,6 +471,6 @@ home_directory () return getenv("HOME"); #endif #ifdef DCPOMATIC_WINDOWS - return getenv("HOMEDRIVE") / getenv("HOMEPATH"); + return boost::filesystem::path(getenv("HOMEDRIVE")) / boost::filesystem::path(getenv("HOMEPATH")); #endif } |
