Skip to content

Commit

Permalink
Fallthrough fallback for unknown compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
kddnewton committed Dec 20, 2024
1 parent d869d7e commit cc810b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/prism/defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,8 @@
#define PRISM_FALLTHROUGH __attribute__((fallthrough));
#elif defined(_MSC_VER)
#define PRISM_FALLTHROUGH __fallthrough;
#else
#define PRISM_FALLTHROUGH
#endif

#endif

0 comments on commit cc810b1

Please sign in to comment.