Use dcp::File in DCP-o-matic (#2231).
[dcpomatic.git] / src / lib / cross_linux.cc
index d7d1089fc8c90f2484436e30587d80eb8af00f40..89a9c5bb66df62ccf2eec05867d054c5fc843b30 100644 (file)
@@ -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)
 {