summaryrefslogtreecommitdiff
path: root/libc/include/malloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/include/malloc.h')
-rw-r--r--libc/include/malloc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/include/malloc.h b/libc/include/malloc.h
index 3a678a94e..f7adfbb16 100644
--- a/libc/include/malloc.h
+++ b/libc/include/malloc.h
@@ -23,8 +23,8 @@
__BEGIN_DECLS
-// Remove the workaround once b/37423073 is fixed.
-#if defined(__clang__) && !__has_attribute(alloc_size)
+// Remove this workaround once b/37423073 is fixed.
+#if !__has_attribute(alloc_size)
#define __BIONIC_ALLOC_SIZE(...)
#else
#define __BIONIC_ALLOC_SIZE(...) __attribute__((__alloc_size__(__VA_ARGS__)))