summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-05-13 21:03:35 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-05-13 21:03:35 +0000
commit7babc5212cc846d2a7d1ffa964663dea497d3ef4 (patch)
treed4bde6158d84e3c13465e2b8126fd57a92fac6cd
parent14c74e94a147cf0bd0b5337e3b3fffabc0c34221 (diff)
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@4647 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/PluginUpdater/src/Common.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/plugins/PluginUpdater/src/Common.h b/plugins/PluginUpdater/src/Common.h
index 0ec714323c..4e8e121451 100644
--- a/plugins/PluginUpdater/src/Common.h
+++ b/plugins/PluginUpdater/src/Common.h
@@ -163,9 +163,17 @@ int SafeCreateFilePath(TCHAR *pFolder);
#if MIRANDA_VER < 0x0A00
-#define db_free(A) db_free(A)
-#define db_get_b(A,B,C,D) db_get_b(A,B,C,D)
-#define db_set_s(A,B,C,D) db_set_s(A,B,C,D)
+#define db_free(A) DBFreeVariant(A)
+
+#define db_get_b(A,B,C,D) DBGetContactSettingByte(A,B,C,D)
+#define db_get_dw(A,B,C,D) DBGetContactSettingDword(A,B,C,D)
+#define db_get_s(A,B,C,D) DBGetContactSettingString(A,B,C,D)
+#define db_get_ts(A,B,C,D) DBGetContactSettingTString(A,B,C,D)
+
+#define db_set_b(A,B,C,D) DBWriteContactSettingByte(A,B,C,D)
+#define db_set_dw(A,B,C,D) DBWriteContactSettingDword(A,B,C,D)
+#define db_set_s(A,B,C,D) DBWriteContactSettingString(A,B,C,D)
+#define db_set_ts(A,B,C,D) DBWriteContactSettingTString(A,B,C,D)
template<class T> class mir_ptr
{