summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-04-30 22:41:27 +0100
committerCarl Hetherington <cth@carlh.net>2015-04-30 22:41:27 +0100
commitc9829855c64c7882130ce992f2763cb565c05b1d (patch)
treed185d1367bed3bb8e27902ce8b6347d8c9fe9494 /src/lib
parent5b9a756b1c55773837995fbf8597af7c31a3faf1 (diff)
Try to fix Windows build.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/cross.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/cross.cc b/src/lib/cross.cc
index 7f95d1f71..9894d885f 100644
--- a/src/lib/cross.cc
+++ b/src/lib/cross.cc
@@ -161,7 +161,8 @@ shared_path ()
wchar_t dir[512];
GetModuleFileName (GetModuleHandle (0), dir, sizeof (dir));
PathRemoveFileSpec (dir);
- return dir.parent_path();
+ boost::filesystem::path path = dir;
+ return path.parent_path();
#endif
#ifdef DCPOMATIC_OSX
return app_contents();