mirror of
https://github.com/Tencent/MMKV.git
synced 2026-10-17 04:30:56 +08:00
tidy Win32 stuff
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* Tencent is pleased to support the open source community by making
|
||||
* MMKV available.
|
||||
*
|
||||
* Copyright (C) 2018 THL A29 Limited, a Tencent company.
|
||||
* Copyright (C) 2019 THL A29 Limited, a Tencent company.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Licensed under the BSD 3-Clause License (the "License"); you may not use
|
||||
@@ -18,16 +18,17 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include "InterProcessLock.h"
|
||||
#include "MMBuffer.h"
|
||||
#include "MMKVLog.h"
|
||||
#include "MemoryFile.h"
|
||||
#include "ScopedLock.hpp"
|
||||
|
||||
using namespace std;
|
||||
|
||||
#ifdef MMKV_WIN32
|
||||
|
||||
# include "InterProcessLock.h"
|
||||
# include "MMBuffer.h"
|
||||
# include "MMKVLog.h"
|
||||
# include "ScopedLock.hpp"
|
||||
|
||||
using namespace std;
|
||||
|
||||
namespace mmkv {
|
||||
|
||||
static bool getFileSize(MMKV_FILE_HANDLE fd, size_t &size);
|
||||
|
||||
Reference in New Issue
Block a user