summaryrefslogtreecommitdiff
path: root/src/lib/cross_linux.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-04-20 22:53:46 +0200
committerCarl Hetherington <cth@carlh.net>2021-04-23 17:44:14 +0200
commit87df63f0ca9cf1df4f99f5818dad45bbc4c6e3e3 (patch)
treeb8a8113e95e8577623ce8b686141031bbd89204b /src/lib/cross_linux.cc
parent151f5c81fade29e9bebea9904fd85975351b7b78 (diff)
Fix fopen() on windows to cope with long filenames (part of #1755).
Diffstat (limited to 'src/lib/cross_linux.cc')
-rw-r--r--src/lib/cross_linux.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/cross_linux.cc b/src/lib/cross_linux.cc
index 510bce8c3..816573230 100644
--- a/src/lib/cross_linux.cc
+++ b/src/lib/cross_linux.cc
@@ -420,3 +420,11 @@ dcpomatic::get_process_id ()
{
return dcp::raw_convert<string>(getpid());
}
+
+
+boost::filesystem::path
+fix_long_path (boost::filesystem::path path)
+{
+ return path;
+}
+