mirror of https://github.com/x64dbg/zydis
Improved support for ICC
This commit is contained in:
parent
6b608a302b
commit
2e979ec737
|
@ -137,6 +137,13 @@
|
||||||
# endif
|
# endif
|
||||||
# elif defined(ZYDIS_GCC) && ((__GNUC__ == 4 && __GNUC_MINOR__ > 4) || __GNUC__ > 4)
|
# elif defined(ZYDIS_GCC) && ((__GNUC__ == 4 && __GNUC_MINOR__ > 4) || __GNUC__ > 4)
|
||||||
# define ZYDIS_UNREACHABLE __builtin_unreachable()
|
# define ZYDIS_UNREACHABLE __builtin_unreachable()
|
||||||
|
# elif defined(ZYDIS_ICC)
|
||||||
|
# ifdef ZYDIS_WINDOWS
|
||||||
|
# include <stdlib.h> // "missing return statement" workaround
|
||||||
|
# define ZYDIS_UNREACHABLE __assume(0); (void)abort()
|
||||||
|
# else
|
||||||
|
# define ZYDIS_UNREACHABLE __builtin_unreachable()
|
||||||
|
# endif
|
||||||
# elif defined(ZYDIS_MSVC)
|
# elif defined(ZYDIS_MSVC)
|
||||||
# define ZYDIS_UNREACHABLE __assume(0)
|
# define ZYDIS_UNREACHABLE __assume(0)
|
||||||
# else
|
# else
|
||||||
|
|
Loading…
Reference in New Issue