don't redefine NDEBUG if it is already defined. yeesh.

This commit is contained in:
jim winstead 2002-03-15 17:10:38 +00:00
parent c84a4ead95
commit 12bc95432a

View file

@ -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))