BeBuild: add ALWAYS_INLINE macro

only available on gcc 4 and upper.

Change-Id: Ifc059d5fedd15a5aeda1514312fbbf98a72d3128
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4005
Reviewed-by: Jérôme Duval <[email protected]>
This commit is contained in:
X512
2021-05-28 11:32:48 +00:00
committed by Jérôme Duval
parent a182bd6eb5
commit 0b4660ae5a
+1
View File
@@ -82,6 +82,7 @@
__attribute__((format(__printf__, _format_, _args_)))
#if __GNUC__ >= 4
# define _EXPORT __attribute__((visibility("default")))
# define B_ALWAYS_INLINE __attribute__((always_inline)) inline
#else
# define _EXPORT
#endif