summaryrefslogtreecommitdiff
path: root/ext/imap/imap.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-03-11 20:48:49 +0000
committerAndi Gutmans <andi@php.net>2000-03-11 20:48:49 +0000
commit9dca788ca04cfe185c3faaab8ad0b872b1762977 (patch)
treedc2f471e5637593dfc07b457ff3300ef08388d22 /ext/imap/imap.c
parentfe558092e469f6307458cb0f3ae64ebcebf92b14 (diff)
downloadphp-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 'ext/imap/imap.c')
-rw-r--r--ext/imap/imap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/imap/imap.c b/ext/imap/imap.c
index 539405695d..09637a0683 100644
--- a/ext/imap/imap.c
+++ b/ext/imap/imap.c
@@ -46,7 +46,7 @@
#include "imap.h"
#include "mail.h"
#include "rfc822.h"
-#include "modules.h"
+#include "zend_modules.h"
#if (WIN32|WINNT)
#include "winsock.h"
MAILSTREAM DEFAULTPROTO;
@@ -459,7 +459,7 @@ PHP_MINIT_FUNCTION(imap)
/* Open Options */
- REGISTER_MAIN_LONG_CONSTANT("OP_DEBUG", OP_DEBUG, CONST_PERSISTENT | CONST_CS);
+ REGISTER_MAIN_LONG_CONSTANT("OP_PHP_DEBUG", OP_PHP_DEBUG, CONST_PERSISTENT | CONST_CS);
/* debug protocol negotiations */
REGISTER_MAIN_LONG_CONSTANT("OP_READONLY", OP_READONLY, CONST_PERSISTENT | CONST_CS);
@@ -2349,7 +2349,7 @@ PHP_FUNCTION(imap_utf7_decode)
*outp = 0;
-#if DEBUG
+#if PHP_DEBUG
/* warn if we computed outlen incorrectly */
if (outp - out != outlen) {
php_error(E_WARNING,
@@ -2476,7 +2476,7 @@ PHP_FUNCTION(imap_utf7_encode)
*outp = 0;
-#if DEBUG
+#if PHP_DEBUG
/* warn if we computed outlen incorrectly */
if (outp - out != outlen) {
php_error(E_WARNING,