void-packages/srcpkgs/pahole/patches/fix_always_inline.patch
Andrew Benson 031a251762 New package: pahole-1.12
Closes #10100.
2019-04-02 03:37:47 -03:00

13 lines
296 B
Diff

--- dutil.h.orig
+++ dutil.h
@@ -28,6 +28,10 @@
#define __pure __attribute__ ((pure))
#endif
+#ifndef __always_inline
+#define __always_inline inline
+#endif
+
#define roundup(x,y) ((((x) + ((y) - 1)) / (y)) * (y))
static inline __attribute__((const)) bool is_power_of_2(unsigned long n)