summaryrefslogtreecommitdiff
path: root/db3x_autobackups/commonheaders.h
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-07-27 15:27:25 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-07-27 15:27:25 +0000
commit0d489da11220c272765fcc64d390be6bb50ff87f (patch)
tree98b0315bfbf8296c56127cd6574f3a84312792e7 /db3x_autobackups/commonheaders.h
parente6ccc491112a9183d7ed9249c17f5f00283b4bf5 (diff)
based on mmap
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@302 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'db3x_autobackups/commonheaders.h')
-rw-r--r--db3x_autobackups/commonheaders.h23
1 files changed, 18 insertions, 5 deletions
diff --git a/db3x_autobackups/commonheaders.h b/db3x_autobackups/commonheaders.h
index 4d4afad..521a985 100644
--- a/db3x_autobackups/commonheaders.h
+++ b/db3x_autobackups/commonheaders.h
@@ -2,8 +2,8 @@
Miranda IM: the free IM client for Microsoft* Windows*
-Copyright 2000-2003 Miranda ICQ/IM project,
-all portions of this codebase are copyrighted to the people
+Copyright 2000-2003 Miranda ICQ/IM project,
+all portions of this codebase are copyrighted to the people
listed in contributors.txt.
This program is free software; you can redistribute it and/or
@@ -21,19 +21,21 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#define MIRANDA_VER 0x0700
+
#define _WIN32_WINNT 0x0501
#include <windows.h>
+#include <malloc.h>
+
#ifdef _DEBUG
# define _ALPHA_BASE_ 1 // defined for CVS builds
# define _ALPHA_FUSE_ 1 // defined for fuse powered core
# define _CRTDBG_MAP_ALLOC
# include <stdlib.h>
-# include <crtdbg.h>
+//# include <crtdbg.h>
#endif
-#include <malloc.h>
-
#include <commctrl.h>
#include <stdio.h>
#include <string.h>
@@ -43,17 +45,28 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <io.h>
#include <string.h>
#include <direct.h>
+#include <crtdbg.h>
#include "resource.h"
+#include "version.h"
#include <newpluginapi.h>
#include <win2k.h>
+#include <m_plugins.h>
#include <m_system.h>
#include <m_database.h>
#include <m_langpack.h>
+#include <m_utils.h>
+
+#include "database.h"
extern PLUGINLINK *pluginLink;
+extern struct MM_INTERFACE memoryManagerInterface;
extern struct LIST_INTERFACE li;
+extern CRITICAL_SECTION csDbAccess;
+extern struct DBHeader dbHeader;
+extern HANDLE hDbFile;
+
#ifdef __GNUC__
#define mir_i64(x) (x##LL)
#else