summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdb/src/stdafx.h
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-02-19 15:20:53 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-02-19 15:20:53 +0000
commitcf751286442fa9b4b4843ae1091625e6a6c7ba2d (patch)
treec5c76f649b8065018d4d1189c84a70b7ef090bc3 /plugins/Dbx_mdb/src/stdafx.h
parenta98fbb55e2701f6ba4348e90bdb110df667bc4a5 (diff)
dbx_lmdb: fixed writing settings; CryptoProvider selector; correct transactions revert
git-svn-id: http://svn.miranda-ng.org/main/trunk@16310 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_mdb/src/stdafx.h')
-rw-r--r--plugins/Dbx_mdb/src/stdafx.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/plugins/Dbx_mdb/src/stdafx.h b/plugins/Dbx_mdb/src/stdafx.h
index ee324a69ee..0a777f5e5b 100644
--- a/plugins/Dbx_mdb/src/stdafx.h
+++ b/plugins/Dbx_mdb/src/stdafx.h
@@ -38,6 +38,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <m_metacontacts.h>
#include <m_protocols.h>
#include <m_netlib.h>
+#include <m_gui.h>
extern "C"
{
@@ -91,8 +92,7 @@ public:
__forceinline ~txn_ptr_ro()
{
- if (m_txn)
- mdb_txn_reset(m_txn);
+ mdb_txn_reset(m_txn);
}
__forceinline operator MDB_txn*() const { return m_txn; }
@@ -131,8 +131,4 @@ public:
extern HINSTANCE g_hInst;
extern LIST<CDbxMdb> g_Dbs;
-#ifdef __GNUC__
-#define mir_i64(x) (x##LL)
-#else
-#define mir_i64(x) (x##i64)
-#endif
+#include "ui.h"