mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
don't redefine NDEBUG if it is already defined. yeesh.
This commit is contained in:
parent
c84a4ead95
commit
12bc95432a
1 changed files with 2 additions and 0 deletions
|
@ -67,8 +67,10 @@
|
|||
#if PHP_DEBUG
|
||||
#undef NDEBUG
|
||||
#else
|
||||
#ifndef NDEBUG
|
||||
#define NDEBUG
|
||||
#endif
|
||||
#endif
|
||||
#include <assert.h>
|
||||
#else /* HAVE_ASSERT_H */
|
||||
#define assert(expr) ((void) (0))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue