summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-01 10:21:56 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-01 10:21:56 +0000
commita41c9020b7fcbc4d05fcb37097177cc0efc7cdce (patch)
tree5bda74986883a9152123474152c6546547211b9d /include
parent0ae8779546586eba91408d03949d45ec9ced5133 (diff)
db_helpers.cpp deleted
git-svn-id: http://svn.miranda-ng.org/main/trunk@708 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-rw-r--r--include/m_core.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/m_core.h b/include/m_core.h
index 79292893c3..c3b7b68ebd 100644
--- a/include/m_core.h
+++ b/include/m_core.h
@@ -97,6 +97,14 @@ MIR_CORE_DLL(INT_PTR) db_set_ws(HANDLE hContact, const char *szModule, const cha
MIR_CORE_DLL(INT_PTR) db_set_utf(HANDLE hContact, const char *szModule, const char *szSetting, const char *val);
MIR_CORE_DLL(INT_PTR) db_set_blob(HANDLE hContact, const char *szModule, const char *szSetting, void *val, unsigned len);
+#ifdef _UNICODE
+ #define db_get_tsa db_get_wsa
+ #define db_set_ts db_set_ws
+#else
+ #define db_get_tsa db_get_sa
+ #define db_set_ts db_set_s
+#endif
+
///////////////////////////////////////////////////////////////////////////////
// events, hooks & services