aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--host/include/uhd/config.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/include/uhd/config.hpp b/host/include/uhd/config.hpp
index a0289ca1a..2c65f4669 100644
--- a/host/include/uhd/config.hpp
+++ b/host/include/uhd/config.hpp
@@ -84,7 +84,7 @@ typedef SSIZE_T ssize_t;
# define UHD_ALIGNED(x) __attribute__((aligned(x)))
# define UHD_UNUSED(x) x __attribute__((unused))
# if __clang_major__ > 3 || (__clang_major__ == 3 && __clang_minor__ >= 8)
-# define UHD_FALLTHROUGH [[clang:fallthrough]];
+# define UHD_FALLTHROUGH [[clang::fallthrough]];
# else
# define UHD_FALLTHROUGH
# endif