diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-10-29 23:14:31 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-10-29 23:14:31 -0400 |
| commit | 9ebb039a81f5ea06e97d84ef7ee447da9dfca204 (patch) | |
| tree | dc229247feb19ddec117e3c680dd1c13a40dbdd1 /stdlib/util.h | |
| parent | 3e019df9f429caef4b05947cc70652634ebb2467 (diff) | |
Fix up some GCC compiler flag options for LTO and inlining
Diffstat (limited to 'stdlib/util.h')
| -rw-r--r-- | stdlib/util.h | 4 |
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, ...); |
