Skip to content

Commit cc810b1

Browse files
committed
Fallthrough fallback for unknown compilers
1 parent d869d7e commit cc810b1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

include/prism/defines.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,8 @@
250250
#define PRISM_FALLTHROUGH __attribute__((fallthrough));
251251
#elif defined(_MSC_VER)
252252
#define PRISM_FALLTHROUGH __fallthrough;
253+
#else
254+
#define PRISM_FALLTHROUGH
253255
#endif
254256

255257
#endif

0 commit comments

Comments
 (0)