VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Tcdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/Tcdefs.h')
-rw-r--r--src/Common/Tcdefs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Common/Tcdefs.h b/src/Common/Tcdefs.h
index a3bee8c3..d9861c35 100644
--- a/src/Common/Tcdefs.h
+++ b/src/Common/Tcdefs.h
@@ -75,6 +75,9 @@ extern unsigned short _rotl16(unsigned short value, unsigned char shift);
#define WIDE(x) (LPWSTR)L##x
+#define VC_MAX(a,b) ((a)>(b))?(a):(b)
+#define VC_MIN(a,b) ((a)<(b))?(a):(b)
+
#ifdef _MSC_VER
typedef __int8 int8;
@@ -100,6 +103,7 @@ typedef unsigned __int64 uint64;
#include <inttypes.h>
#include <limits.h>
+#include <memory.h>
typedef int8_t int8;
typedef int16_t int16;