diff options
Diffstat (limited to 'src/lib/cross.cc')
| -rw-r--r-- | src/lib/cross.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/cross.cc b/src/lib/cross.cc index 746b4f509..57b3f93b2 100644 --- a/src/lib/cross.cc +++ b/src/lib/cross.cc @@ -288,3 +288,13 @@ fopen_boost (boost::filesystem::path p, string t) return fopen (p.c_str(), t.c_str ()); #endif } + +int +dcpomatic_fseek (FILE* stream, int64_t offset, int whence) +{ +#ifdef DCPOMATIC_WINDOWS + return _fseeki64 (stream, offset, whence); +#else + return fseek (stream, offset, whence); +#endif +} |
