diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2021-06-09 14:49:57 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2021-06-09 14:55:45 -0400 |
commit | 7b5d98877622f2bea24c9dd745dfcf312df31a87 (patch) | |
tree | bbb03b5e7663bf0c24aaf8cfc95741d9bf98cb0c /util.h | |
parent | 41c148c4bf835fca788e6990cb8ea8651bb55927 (diff) | |
download | bfs-7b5d98877622f2bea24c9dd745dfcf312df31a87.tar.xz |
util: Rename fallthrough to BFS_FALLTHROUGH
This avoids shadowing the actually standard name fallthrough.
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -99,11 +99,11 @@ #endif #if BFS_HAS_C_ATTRIBUTE(fallthrough) -# define fallthrough [[fallthrough]] +# define BFS_FALLTHROUGH [[fallthrough]] #elif BFS_HAS_GNU_ATTRIBUTE(fallthrough) -# define fallthrough __attribute__((fallthrough)) +# define BFS_FALLTHROUGH __attribute__((fallthrough)) #else -# define fallthrough ((void)0) +# define BFS_FALLTHROUGH ((void)0) #endif /** |