aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/utils/compiler.h')
-rw-r--r--src/lib/utils/compiler.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/utils/compiler.h b/src/lib/utils/compiler.h
index de9f0f3c3..5cf1f1f41 100644
--- a/src/lib/utils/compiler.h
+++ b/src/lib/utils/compiler.h
@@ -86,8 +86,6 @@
#if defined(__ibmxl__)
// XLC pretends to be both Clang and GCC, but is neither
#define BOTAN_MALLOC_FN __attribute__ ((malloc))
-#elif defined(__clang__) || (BOTAN_GCC_VERSION >= 500)
- #define BOTAN_MALLOC_FN __attribute__ ((malloc, returns_nonnull, alloc_size(1,2)))
#elif defined(__GNUC__)
#define BOTAN_MALLOC_FN __attribute__ ((malloc, alloc_size(1,2)))
#elif defined(_MSC_VER)