VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2024-09-10 23:32:42 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2024-09-10 23:32:42 +0200
commit01dfd0e72befcfc23dcae8a06974eebeb2263fb8 (patch)
tree7ea531ae6feea0b1e65791a252c65f59e5a08957 /src
parent40f0174408a3f6567e251c8922c7472ffeb99f2f (diff)
downloadVeraCrypt-01dfd0e72befcfc23dcae8a06974eebeb2263fb8.tar.gz
VeraCrypt-01dfd0e72befcfc23dcae8a06974eebeb2263fb8.zip
Linux/macOS: Fix missing define that was causing compilation error
Diffstat (limited to 'src')
-rw-r--r--src/Common/Tcdefs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Common/Tcdefs.h b/src/Common/Tcdefs.h
index 8e6750a4..3fd18358 100644
--- a/src/Common/Tcdefs.h
+++ b/src/Common/Tcdefs.h
@@ -140,40 +140,42 @@ typedef uint64_t uint64;
#define __int8 char
#if USHRT_MAX != 0xffffU
#error USHRT_MAX != 0xffff
#endif
#define __int16 short
#if UINT_MAX != 0xffffffffU
#error UINT_MAX != 0xffffffff
#endif
#define __int32 int
typedef uint64 TC_LARGEST_COMPILER_UINT;
#define BOOL int
#ifndef FALSE
#define FALSE 0
#define TRUE 1
#endif
+#define VC_CDECL
+
#endif // !_MSC_VER
#define TC_INT_TYPES_DEFINED
// Integer types required by Cryptolib
typedef unsigned __int8 uint_8t;
typedef unsigned __int16 uint_16t;
typedef unsigned __int32 uint_32t;
#ifndef TC_NO_COMPILER_INT64
typedef uint64 uint_64t;
#endif
typedef union
{
struct
{
unsigned __int32 LowPart;
unsigned __int32 HighPart;
};
#ifndef TC_NO_COMPILER_INT64