summaryrefslogtreecommitdiff
path: root/src/compat/attr.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/compat/attr.hpp')
-rw-r--r--src/compat/attr.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compat/attr.hpp b/src/compat/attr.hpp
index 531e6b4..73fcfc4 100644
--- a/src/compat/attr.hpp
+++ b/src/compat/attr.hpp
@@ -22,10 +22,13 @@
# include "fwd.hpp"
+namespace tmwa
+{
# ifdef __clang__
# define FALLTHROUGH [[clang::fallthrough]]
# else
# define FALLTHROUGH /* fallthrough */
# endif
+} // namespace tmwa
#endif // TMWA_COMPAT_ATTR_HPP