Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Zend/zend_portability.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@
#include "../TSRM/TSRM.h"

#include <stdio.h>
#if ZEND_DEBUG
# undef NDEBUG
#elif !defined(NDEBUG)
# define NDEBUG
#endif
#include <assert.h>
#include <math.h>

Expand Down
7 changes: 0 additions & 7 deletions main/php.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,6 @@ typedef int pid_t;
# endif
#endif

#if PHP_DEBUG
#undef NDEBUG
#else
#ifndef NDEBUG
#define NDEBUG
#endif
#endif
#include <assert.h>

#ifdef HAVE_UNIX_H
Expand Down
Loading