summaryrefslogtreecommitdiffhomepage
path: root/dev/ZKAKit/NewKit
diff options
context:
space:
mode:
Diffstat (limited to 'dev/ZKAKit/NewKit')
-rw-r--r--dev/ZKAKit/NewKit/Macros.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/dev/ZKAKit/NewKit/Macros.h b/dev/ZKAKit/NewKit/Macros.h
index afde877e..2bc53491 100644
--- a/dev/ZKAKit/NewKit/Macros.h
+++ b/dev/ZKAKit/NewKit/Macros.h
@@ -44,6 +44,8 @@
(static_cast<Kernel::Size>(!(sizeof(a) % sizeof(*(a)))))))
#endif
+#define DEPRECATED ATTRIBUTE(deprecated)
+
#ifndef ALIGN
#define ALIGN(X) __attribute__((aligned(X)))
#endif // #ifndef ALIGN
@@ -90,9 +92,9 @@
#define END_STRING_ENUM() }
#endif
-#ifndef cAlloca
-#define cAlloca(Sz) __builtin_alloca(Sz)
-#endif // #ifndef cAlloca
+#ifndef rtl_alloca
+#define rtl_alloca(sz) __builtin_alloca(sz)
+#endif // #ifndef rtl_alloca
#ifndef CANT_REACH
#define CANT_REACH() __builtin_unreachable()