From 8a8c977c12fc65f1f50ea05099387e0fc8840e7d Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 16 Apr 2022 22:20:54 +0200 Subject: Use dcp::File in DCP-o-matic (#2231). --- src/lib/cross_linux.cc | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'src/lib/cross_linux.cc') diff --git a/src/lib/cross_linux.cc b/src/lib/cross_linux.cc index d7d1089fc..89a9c5bb6 100644 --- a/src/lib/cross_linux.cc +++ b/src/lib/cross_linux.cc @@ -189,24 +189,6 @@ disk_writer_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 - with this wrapper. -*/ -FILE * -fopen_boost (boost::filesystem::path p, string t) -{ - return fopen(p.c_str(), t.c_str()); -} - - -int -dcpomatic_fseek (FILE* stream, int64_t offset, int whence) -{ - return fseek (stream, offset, whence); -} - - void Waker::nudge () { @@ -394,13 +376,6 @@ dcpomatic::get_process_id () } -boost::filesystem::path -fix_long_path (boost::filesystem::path path) -{ - return path; -} - - bool show_in_file_manager (boost::filesystem::path dir, boost::filesystem::path) { -- cgit v1.2.3