We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ZEND_STATIC_ASSERT()
1 parent 3a4d3b8 commit b7b603fCopy full SHA for b7b603f
Zend/zend_portability.h
@@ -839,14 +839,6 @@ extern "C++" {
839
/** @deprecated */
840
#define ZEND_CGG_DIAGNOSTIC_IGNORED_END ZEND_DIAGNOSTIC_IGNORED_END
841
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
-
850
#if ((defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) /* C11 */ \
851
|| (defined(__cplusplus) && __cplusplus >= 201103L) /* C++11 */) && !defined(ZEND_WIN32)
852
typedef max_align_t zend_max_align_t;
0 commit comments