Lines 44-50
typedef size_t __xalloc_count_type;
Link Here
|
44 |
#if 7 <= __GNUC__ |
44 |
#if 7 <= __GNUC__ |
45 |
# define xalloc_oversized(n, s) \ |
45 |
# define xalloc_oversized(n, s) \ |
46 |
__builtin_mul_overflow_p (n, s, (__xalloc_count_type) 1) |
46 |
__builtin_mul_overflow_p (n, s, (__xalloc_count_type) 1) |
47 |
#elif 5 <= __GNUC__ && !defined __ICC && !__STRICT_ANSI__ |
47 |
#elif 5 <= __GNUC__ && !defined __ICC && \ |
|
|
48 |
!(defined __LCC__ && __LCC__ <= 123) && !__STRICT_ANSI__ |
48 |
# define xalloc_oversized(n, s) \ |
49 |
# define xalloc_oversized(n, s) \ |
49 |
(__builtin_constant_p (n) && __builtin_constant_p (s) \ |
50 |
(__builtin_constant_p (n) && __builtin_constant_p (s) \ |
50 |
? __xalloc_oversized (n, s) \ |
51 |
? __xalloc_oversized (n, s) \ |
51 |
- |
|
|