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? --- ext/db/db.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/db') diff --git a/ext/db/db.c b/ext/db/db.c index ea6b9e194f..ab1412d086 100644 --- a/ext/db/db.c +++ b/ext/db/db.c @@ -373,13 +373,13 @@ dbm_info *php_dbm_open(char *filename, char *mode) { ret = -1; #else #if NDBM -#if DEBUG +#if PHP_DEBUG php_error(E_WARNING, "dbmopen_ndbm(%s): errno = %d [%s]\n",filename,errno,strerror(errno)); #endif if (errno) ret=errno; else ret = -1; #else -#if DEBUG +#if PHP_DEBUG php_error(E_WARNING, "dbmopen_flatfile(%s): errno = %d [%s]\n",filename,errno,strerror(errno)); #endif if (errno) ret=errno; -- cgit v1.2.1