VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Common/Tcdefs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Common/Tcdefs.h b/src/Common/Tcdefs.h
index a2d7355d..e177e02c 100644
--- a/src/Common/Tcdefs.h
+++ b/src/Common/Tcdefs.h
@@ -128,6 +128,11 @@ void ThrowFatalException (int line);
# define TC_THROW_FATAL_EXCEPTION *(char *) 0 = 0
#endif
+#ifdef __COVERITY__
+#undef TC_THROW_FATAL_EXCEPTION
+#define TC_THROW_FATAL_EXCEPTION __coverity_panic__()
+#endif
+
#ifdef TC_WINDOWS_DRIVER
#include <ntifs.h>