diff options
| -rw-r--r-- | include/fortify-headers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fortify-headers.h b/include/fortify-headers.h index 46d5610..c7b15f9 100644 --- a/include/fortify-headers.h +++ b/include/fortify-headers.h | |||
| @@ -94,7 +94,7 @@ | |||
| 94 | #define __malloc(...) | 94 | #define __malloc(...) |
| 95 | #endif | 95 | #endif |
| 96 | 96 | ||
| 97 | #if __has_attribute (alloc_size) | 97 | #if __has_attribute (alloc_size) && !defined(__alloc_size) |
| 98 | #define __alloc_size(...) __attribute__ ((alloc_size (__VA_ARGS__))) | 98 | #define __alloc_size(...) __attribute__ ((alloc_size (__VA_ARGS__))) |
| 99 | #else | 99 | #else |
| 100 | #define __alloc_size(...) | 100 | #define __alloc_size(...) |
