Skip to content

Commit b7b603f

Browse files
committed
zend_portability: Remove ZEND_STATIC_ASSERT()
1 parent 3a4d3b8 commit b7b603f

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Zend/zend_portability.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -839,14 +839,6 @@ extern "C++" {
839839
/** @deprecated */
840840
#define ZEND_CGG_DIAGNOSTIC_IGNORED_END ZEND_DIAGNOSTIC_IGNORED_END
841841

842-
#if defined(__cplusplus)
843-
# define ZEND_STATIC_ASSERT(c, m) static_assert((c), m)
844-
#elif defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) /* C11 */
845-
# define ZEND_STATIC_ASSERT(c, m) _Static_assert((c), m)
846-
#else
847-
# define ZEND_STATIC_ASSERT(c, m)
848-
#endif
849-
850842
#if ((defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) /* C11 */ \
851843
|| (defined(__cplusplus) && __cplusplus >= 201103L) /* C++11 */) && !defined(ZEND_WIN32)
852844
typedef max_align_t zend_max_align_t;

0 commit comments

Comments
 (0)