3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 09:05:31 +00:00

Add support for Intel Compiler

This commit is contained in:
Michał Janiszewski 2018-10-01 21:43:44 +02:00
parent 7a2a2a32cc
commit 5c9b1c7b11
2 changed files with 6 additions and 2 deletions

View file

@ -28,7 +28,7 @@ Revision History:
#endif
#ifdef __GNUC__
# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 || __has_builtin(returns_nonnull)
# if ((__GNUC__ * 100 + __GNUC_MINOR__) >= 409 || __has_builtin(returns_nonnull)) && !defined(__INTEL_COMPILER)
# define GCC_RET_NON_NULL __attribute__((returns_nonnull))
# else
# define GCC_RET_NON_NULL