summaryrefslogtreecommitdiff
path: root/libs/libmdbx
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libmdbx')
-rw-r--r--libs/libmdbx/libmdbx.vcxproj6
-rw-r--r--libs/libmdbx/libmdbx.vcxproj.filters14
-rw-r--r--libs/libmdbx/src/stdafx.cxx10
-rw-r--r--libs/libmdbx/src/stdafx.h28
4 files changed, 16 insertions, 42 deletions
diff --git a/libs/libmdbx/libmdbx.vcxproj b/libs/libmdbx/libmdbx.vcxproj
index 6f690abef4..599efbda3c 100644
--- a/libs/libmdbx/libmdbx.vcxproj
+++ b/libs/libmdbx/libmdbx.vcxproj
@@ -33,6 +33,12 @@
</Link>
</ItemDefinitionGroup>
<ItemGroup>
+ <ClCompile Include="src\version.c">
+ <PrecompiledHeader>NotUsing</PrecompiledHeader>
+ </ClCompile>
+ <ClInclude Include="src\config.h" />
+ <ClInclude Include="src\mdbx.h" />
+ <ClInclude Include="src\stdafx.h" />
<ClCompile Include="src\src\lck-windows.c">
<PrecompiledHeader>NotUsing</PrecompiledHeader>
</ClCompile>
diff --git a/libs/libmdbx/libmdbx.vcxproj.filters b/libs/libmdbx/libmdbx.vcxproj.filters
index 8bcc022f48..6715e53aa2 100644
--- a/libs/libmdbx/libmdbx.vcxproj.filters
+++ b/libs/libmdbx/libmdbx.vcxproj.filters
@@ -8,18 +8,24 @@
<ClCompile Include="src\src\lck-windows.c">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="src\src\mdbx.c">
+ <ClCompile Include="src\src\osal.c">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="src\src\osal.c">
+ <ClCompile Include="src\version.c">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="src\src\version.c">
+ <ClCompile Include="src\src\core.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
- <ClInclude Include="src\*.h">
+ <ClInclude Include="src\config.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="src\mdbx.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="src\stdafx.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
diff --git a/libs/libmdbx/src/stdafx.cxx b/libs/libmdbx/src/stdafx.cxx
deleted file mode 100644
index fd443374cb..0000000000
--- a/libs/libmdbx/src/stdafx.cxx
+++ /dev/null
@@ -1,10 +0,0 @@
-
-#include "stdafx.h"
-
-/////////////////////////////////////////////////////////////////////////////////////////
-
-BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD reason, LPVOID reserved)
-{
- mdbx_dll_handler(hInstDLL, reason, reserved);
- return TRUE;
-}
diff --git a/libs/libmdbx/src/stdafx.h b/libs/libmdbx/src/stdafx.h
deleted file mode 100644
index 8719ac2e7b..0000000000
--- a/libs/libmdbx/src/stdafx.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
-
-Miranda NG: the free IM client for Microsoft* Windows*
-
-Copyright (C) 2012-20 Miranda NG team (https://miranda-ng.org),
-all portions of this codebase are copyrighted to the people
-listed in contributors.txt.
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License
-as published by the Free Software Foundation; either version 2
-of the License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-*/
-
-#pragma once
-
-#include <windows.h>
-
-#include "mdbx.h" \ No newline at end of file