From: jim winstead Date: Fri, 15 Mar 2002 17:10:38 +0000 (+0000) Subject: don't redefine NDEBUG if it is already defined. yeesh. X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~1387 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=12bc95432a0c9514643f60a8b5c84045d875d77a;p=php don't redefine NDEBUG if it is already defined. yeesh. --- diff --git a/main/php.h b/main/php.h index 131ac7819e..5098fc71f3 100644 --- a/main/php.h +++ b/main/php.h @@ -67,8 +67,10 @@ #if PHP_DEBUG #undef NDEBUG #else +#ifndef NDEBUG #define NDEBUG #endif +#endif #include #else /* HAVE_ASSERT_H */ #define assert(expr) ((void) (0))