aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Dickens <michael.dickens@ettus.com>2016-06-24 16:58:24 -0400
committerMartin Braun <martin.braun@ettus.com>2016-08-01 18:49:53 -0700
commit8c1b03e38ef3985bffd6419d302d23780f1cf39d (patch)
tree72881fcb6878cf54855f733dab6277c5973afac9
parenta5909ec14bf162e60aedfad23ad5cf8cc12c9dc3 (diff)
downloaduhd-8c1b03e38ef3985bffd6419d302d23780f1cf39d.tar.gz
uhd-8c1b03e38ef3985bffd6419d302d23780f1cf39d.tar.bz2
uhd-8c1b03e38ef3985bffd6419d302d23780f1cf39d.zip
update support for clang to include UHD_FORCE_INLINE
-rw-r--r--host/include/uhd/config.hpp1
1 files changed, 1 insertions, 0 deletions
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))