From a41c9020b7fcbc4d05fcb37097177cc0efc7cdce Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 1 Jul 2012 10:21:56 +0000 Subject: db_helpers.cpp deleted git-svn-id: http://svn.miranda-ng.org/main/trunk@708 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/m_core.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include') 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 -- cgit v1.2.3