From 8c1b03e38ef3985bffd6419d302d23780f1cf39d Mon Sep 17 00:00:00 2001 From: Michael Dickens Date: Fri, 24 Jun 2016 16:58:24 -0400 Subject: update support for clang to include UHD_FORCE_INLINE --- host/include/uhd/config.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'host') diff --git a/host/include/uhd/config.hpp b/host/include/uhd/config.hpp index ed21634e1..daa8a9066 100644 --- a/host/include/uhd/config.hpp +++ b/host/include/uhd/config.hpp @@ -77,6 +77,7 @@ typedef ptrdiff_t ssize_t; #define UHD_EXPORT __attribute__((visibility("default"))) #define UHD_IMPORT __attribute__((visibility("default"))) #define UHD_INLINE inline __attribute__((always_inline)) + #define UHD_FORCE_INLINE inline __attribute__((always_inline)) #define UHD_DEPRECATED __attribute__((deprecated)) #define UHD_ALIGNED(x) __attribute__((aligned(x))) #define UHD_UNUSED(x) x __attribute__((unused)) -- cgit v1.2.3