X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl.h;h=46ce72b89c7ae3d206e492f9dd052a60bd5624a1;hb=1dd9311ab0a647f516752dd7368cf0b3f3ae13a4;hp=8d12c2bbee87450b58e924feb7cba8adc736d80f;hpb=6239f2daa03877fbd4818ee3cd82a01a135ecb43;p=p5sagit%2Fp5-mst-13.2.git diff --git a/perl.h b/perl.h index 8d12c2b..46ce72b 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__); \