summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/common.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-01-06 09:41:17 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-01-06 09:41:17 +0000
commit9c66032fdc937f852771949c4b4c94ade67324d8 (patch)
treebb6d08bf983b336efa8ea1e2da2a42117f185fa1 /protocols/Tox/src/common.h
parentea7a6070439e85db5afcee399b920c975f4ea7d2 (diff)
Tox:
- fixed file transfer with size > 2mb - fixed file lock after transfer - accelerated file transfers git-svn-id: http://svn.miranda-ng.org/main/trunk@11778 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/common.h')
-rw-r--r--protocols/Tox/src/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Tox/src/common.h b/protocols/Tox/src/common.h
index 7c5e3a71fc..2bdfc3a657 100644
--- a/protocols/Tox/src/common.h
+++ b/protocols/Tox/src/common.h
@@ -52,6 +52,8 @@ extern HINSTANCE g_hInstance;
#define TOX_DB_EVENT_TYPE_ACTION 10001
+#define TOX_FILE_BLOCK_SIZE 1024 * 1024
+
extern HMODULE g_hToxLibrary;
template<typename T>