summaryrefslogtreecommitdiff
path: root/src/compat/attr.hpp
blob: ca9a7a27fc3491bfab0217765aa95eaa988403a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef TMWA_COMPAT_ATTR_HPP
#define TMWA_COMPAT_ATTR_HPP

# include "../sanity.hpp"


# ifdef __clang__
#  define FALLTHROUGH [[clang::fallthrough]]
# else
#  define FALLTHROUGH /* fallthrough */
# endif

#endif // TMWA_COMPAT_ATTR_HPP