diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-04-30 22:41:27 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-04-30 22:41:27 +0100 |
| commit | c9829855c64c7882130ce992f2763cb565c05b1d (patch) | |
| tree | d185d1367bed3bb8e27902ce8b6347d8c9fe9494 /src | |
| parent | 5b9a756b1c55773837995fbf8597af7c31a3faf1 (diff) | |
Try to fix Windows build.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/cross.cc | 3 |
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(); |
