aboutsummaryrefslogtreecommitdiff
path: root/stdlib/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/util.h')
-rw-r--r--stdlib/util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/stdlib/util.h b/stdlib/util.h
index b68e59bc..9e83c2bc 100644
--- a/stdlib/util.h
+++ b/stdlib/util.h
@@ -33,6 +33,10 @@
#define CONSTFUNC __attribute__ ((const))
#endif
+#ifndef INLINE
+#define INLINE inline __attribute__ ((always_inline))
+#endif
+
__attribute__((format(printf, 1, 2)))
char *heap_strf(const char *fmt, ...);