about summary refs log tree commit diff
path: root/sysdeps/generic/allocalim.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/allocalim.h')
-rw-r--r--sysdeps/generic/allocalim.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/generic/allocalim.h b/sysdeps/generic/allocalim.h
new file mode 100644
index 0000000000..2491129a7d
--- /dev/null
+++ b/sysdeps/generic/allocalim.h
@@ -0,0 +1,4 @@
+extern inline int __libc_use_alloca (size_t size)
+{
+  return size <= __MAX_ALLOCA_CUTOFF;
+}