summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-09-28 18:29:35 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-09-28 18:29:35 +0300
commit53b994d2bb889e844d4eb38f8430e0bf8e09ac50 (patch)
treef6296044551a033f0871303d37cd64f818ca303a
parentac39d62f093a64ba131abdab57765783b449b7b1 (diff)
compilation fix
-rw-r--r--tools/checksum/commonheaders.h4
-rw-r--r--tools/checksum/make.bat3
2 files changed, 4 insertions, 3 deletions
diff --git a/tools/checksum/commonheaders.h b/tools/checksum/commonheaders.h
index 4797a00c4a..c3d5d1e094 100644
--- a/tools/checksum/commonheaders.h
+++ b/tools/checksum/commonheaders.h
@@ -2,13 +2,15 @@
#define WINVER 0x0700
#define _WIN32_WINNT 0x0700
+#define _UNICODE
+#define UNICODE
+#include <tchar.h>
#include <io.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
-#include <tchar.h>
// #include <m_core.h>
diff --git a/tools/checksum/make.bat b/tools/checksum/make.bat
index f121106a9c..efcae4e834 100644
--- a/tools/checksum/make.bat
+++ b/tools/checksum/make.bat
@@ -1,2 +1 @@
-@cl /MT /O2 /GL /Fe../../bin10/checksum.exe md5.cpp checksum.cpp /link /filealign:512
-@rem cl /MT /O2 /GL /Fe./checksum.exe md5.cpp checksum.cpp /link /filealign:512 \ No newline at end of file
+@cl /MT /O2 /GL /Fechecksum.exe md5.cpp checksum.cpp /link /filealign:512 \ No newline at end of file