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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user