mirror of
https://github.com/Tencent/MMKV.git
synced 2026-10-16 20:21:12 +08:00
add mayfly fd for Win32/POSIX
This commit is contained in:
@@ -48,8 +48,6 @@ typedef int (*renameat2_t)(int old_dir_fd, const char* old_path, int new_dir_fd,
|
||||
|
||||
namespace mmkv {
|
||||
|
||||
extern bool getFileSize(int fd, size_t &size);
|
||||
|
||||
bool tryAtomicRename(const MMKVPath_t &srcPath, const MMKVPath_t &dstPath) {
|
||||
bool renamed = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user