diff options
author | George Hazan <george.hazan@gmail.com> | 2012-11-29 12:31:49 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-11-29 12:31:49 +0000 |
commit | a2da2acffa6454c0cb3dfa9c971af64d76d4afe4 (patch) | |
tree | 845f5d46bfe8e9f9d415d28a86299fa1130fc494 /include/m_core.h | |
parent | 41958e91d52457e264e7e62e22beb605432a76a2 (diff) |
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@2558 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_core.h')
-rw-r--r-- | include/m_core.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/m_core.h b/include/m_core.h index 5b91dbe550..99fa85bdde 100644 --- a/include/m_core.h +++ b/include/m_core.h @@ -99,10 +99,15 @@ MIR_CORE_DLL(int) db_get_b(HANDLE hContact, const char *szModule, const char MIR_CORE_DLL(int) db_get_w(HANDLE hContact, const char *szModule, const char *szSetting, int errorValue);
MIR_CORE_DLL(DWORD) db_get_dw(HANDLE hContact, const char *szModule, const char *szSetting, DWORD errorValue);
MIR_CORE_DLL(INT_PTR) db_get(HANDLE hContact, const char *szModule, const char *szSetting, DBVARIANT *dbv);
-MIR_CORE_DLL(INT_PTR) db_get_s(HANDLE hContact, const char *szModule, const char *szSetting, DBVARIANT *dbv, const int nType=DBVT_ASCIIZ);
MIR_CORE_DLL(char*) db_get_sa(HANDLE hContact, const char *szModule, const char *szSetting);
MIR_CORE_DLL(WCHAR*) db_get_wsa(HANDLE hContact, const char *szModule, const char *szSetting);
+#if defined(__cplusplus)
+MIR_CORE_DLL(INT_PTR) db_get_s(HANDLE hContact, const char *szModule, const char *szSetting, DBVARIANT *dbv, const int nType=DBVT_ASCIIZ);
+#else
+MIR_CORE_DLL(INT_PTR) db_get_s(HANDLE hContact, const char *szModule, const char *szSetting, DBVARIANT *dbv, const int nType);
+#endif
+
MIR_CORE_DLL(INT_PTR) db_set_b(HANDLE hContact, const char *szModule, const char *szSetting, BYTE val);
MIR_CORE_DLL(INT_PTR) db_set_w(HANDLE hContact, const char *szModule, const char *szSetting, WORD val);
MIR_CORE_DLL(INT_PTR) db_set_dw(HANDLE hContact, const char *szModule, const char *szSetting, DWORD val);
|