mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
incorporate #1854
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
096a6c088d
commit
be8a9c611e
2 changed files with 7 additions and 1 deletions
|
@ -27,7 +27,9 @@ Revision History:
|
|||
# define __has_builtin(x) 0
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
#ifdef __INTEL_COMPILER
|
||||
# define ALLOC_ATTR __attribute__((malloc))
|
||||
#elif __GNUC__
|
||||
# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 || __has_builtin(returns_nonnull)
|
||||
# define GCC_RET_NON_NULL __attribute__((returns_nonnull))
|
||||
# else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue