From 9dca788ca04cfe185c3faaab8ad0b872b1762977 Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Sat, 11 Mar 2000 20:48:49 +0000 Subject: - Don't define DEBUG anymore. Everyone should use PHP_DEBUG. There are 2-3 third-party libs in PHP which use DEBUG and I left them this way (primary example is pcrelib). - Please test things and Andrei, can you check that pcrelib stopped printing the warning messages? --- main/php.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'main/php.h') diff --git a/main/php.h b/main/php.h index a667f6978a..cb332f28f4 100644 --- a/main/php.h +++ b/main/php.h @@ -73,11 +73,11 @@ extern unsigned char second_arg_allow_ref[]; #include "php_regex.h" /* PHP's DEBUG value must match Zend's ZEND_DEBUG value */ -#undef DEBUG -#define DEBUG ZEND_DEBUG +#undef PHP_DEBUG +#define PHP_DEBUG ZEND_DEBUG -#if DEBUG || !(defined(__GNUC__)||defined(PHP_WIN32)) +#if PHP_DEBUG || !(defined(__GNUC__)||defined(PHP_WIN32)) #ifdef inline #undef inline #endif -- cgit v1.2.1