mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 06:53:43 +00:00
Remove unused functions from tool shim, add int64 file ops
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#define _FILE_OFFSET_BITS 64
|
||||
#include "WindowsUnicodeToolShim.h"
|
||||
|
||||
#include <cstdio>
|
||||
@@ -97,3 +98,13 @@ void ScanDirectoryForExtension
|
||||
}
|
||||
closedir(dir);
|
||||
}
|
||||
|
||||
int fseek_int64(FILE *f, int64_t offset, int origin)
|
||||
{
|
||||
return fseeko(f, static_cast<off_t>(offset), origin);
|
||||
}
|
||||
|
||||
int64_t ftell_int64(FILE *f)
|
||||
{
|
||||
return static_cast<int64_t>(ftello(f));
|
||||
}
|
||||
|
Reference in New Issue
Block a user