3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 09:05:31 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2018-10-01 19:49:18 -07:00
parent 096a6c088d
commit be8a9c611e
2 changed files with 7 additions and 1 deletions

View file

@ -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