tidy Win32 stuff

This commit is contained in:
guoling
2019-12-18 15:51:02 +08:00
parent c3956e9c55
commit d383aa71ec
7 changed files with 120 additions and 84 deletions
+8 -7
View File
@@ -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);