From 488b0c7a33e6590f9d65377c476a73506eafed7d Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Mon, 4 Aug 2003 09:35:55 +0000 Subject: Rename DEBUG() and DEB() to PERL_DEBUG() and PERL_DEB(). p4raw-id: //depot/perl@20475 --- perl.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'perl.h') diff --git a/perl.h b/perl.h index 8d12c2bbee..46ce72b89c 100644 --- a/perl.h +++ b/perl.h @@ -2553,8 +2553,8 @@ Gid_t getegid (void); # define DEBUG_v_TEST DEBUG_v_TEST_ # define DEBUG_C_TEST DEBUG_C_TEST_ -# define DEB(a) a -# define DEBUG(a) if (PL_debug) a +# define PERL_DEB(a) a +# define PERL_DEBUG(a) if (PL_debug) a # define DEBUG_p(a) if (DEBUG_p_TEST) a # define DEBUG_s(a) if (DEBUG_s_TEST) a # define DEBUG_l(a) if (DEBUG_l_TEST) a @@ -2616,8 +2616,8 @@ Gid_t getegid (void); # define DEBUG_v_TEST (0) # define DEBUG_C_TEST (0) -# define DEB(a) -# define DEBUG(a) +# define PERL_DEB(a) +# define PERL_DEBUG(a) # define DEBUG_p(a) # define DEBUG_s(a) # define DEBUG_l(a) @@ -2704,14 +2704,14 @@ Gid_t getegid (void); #ifndef assert /* might have been included somehow */ #ifdef DEBUGGING -#define assert(what) DEB( { \ +#define assert(what) PERL_DEB( { \ if (!(what)) { \ Perl_croak(aTHX_ "Assertion " STRINGIFY(what) " failed: file \"%s\", line %d", \ __FILE__, __LINE__); \ PerlProc_exit(1); \ }}) #else -#define assert(what) DEB( { \ +#define assert(what) PERL_DEB( { \ if (!(what)) { \ Perl_croak(aTHX_ "Assertion failed: file \"%s\", line %d", \ __FILE__, __LINE__); \ -- cgit v1.2.1