From ddccef68ae80bac6b4aa8583dd8e0a7c943b535c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 7 Apr 2020 01:29:50 +0200 Subject: Add DCPOMATIC_DISK define and don't build stuff needing boost dll library if we don't need it. --- src/lib/cross_osx.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib/cross_osx.cc') diff --git a/src/lib/cross_osx.cc b/src/lib/cross_osx.cc index fa12fb380..481edad0d 100644 --- a/src/lib/cross_osx.cc +++ b/src/lib/cross_osx.cc @@ -131,6 +131,7 @@ openssl_path () return path; } +#ifdef DCPOMATIC_DISK boost::filesystem::path disk_writer_path () { @@ -139,6 +140,7 @@ disk_writer_path () path /= "dcpomatic2_disk_writer"; return path; } +#endif /* Apparently there is no way to create an ofstream using a UTF-8 filename under Windows. We are hence reduced to using fopen -- cgit v1.2.3