Skip to content

Commit 4608151

Browse files
committed
Define ZEND_FALLTHROUGH
1 parent b688e04 commit 4608151

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Zend/zend_portability.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@
115115

116116
/* pseudo fallthrough keyword; */
117117
#if defined(__GNUC__) && __GNUC__ >= 7
118-
# define fallthrough __attribute__((__fallthrough__))
118+
# define ZEND_FALLTHROUGH __attribute__((__fallthrough__))
119119
#else
120-
# define fallthrough ((void)0)
120+
# define ZEND_FALLTHROUGH ((void)0)
121121
#endif
122122

123123
/* Only use this macro if you know for sure that all of the switches values

0 commit comments

Comments
 (0)