diff options
author | Andi Gutmans <andi@php.net> | 2000-03-11 20:48:49 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2000-03-11 20:48:49 +0000 |
commit | 9dca788ca04cfe185c3faaab8ad0b872b1762977 (patch) | |
tree | dc2f471e5637593dfc07b457ff3300ef08388d22 /main/php.h | |
parent | fe558092e469f6307458cb0f3ae64ebcebf92b14 (diff) | |
download | php-git-9dca788ca04cfe185c3faaab8ad0b872b1762977.tar.gz |
- 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?
Diffstat (limited to 'main/php.h')
-rw-r--r-- | main/php.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 |