Change 33474 by [EMAIL PROTECTED] on 2008/03/11 16:58:39

        Reverse accidental change to perl.h in 33472.

Affected files ...

... //depot/maint-5.8/perl/perl.h#181 edit

Differences ...

==== //depot/maint-5.8/perl/perl.h#181 (text) ====
Index: perl/perl.h
--- perl/perl.h#180~33472~      2008-03-11 08:56:33.000000000 -0700
+++ perl/perl.h 2008-03-11 09:58:39.000000000 -0700
@@ -3633,9 +3633,12 @@
 
 #define YYMAXDEPTH 300
 
-
-#if defined(DEBUGGING)
-#  include <assert.h>
+#ifndef assert  /* <assert.h> might have been included somehow */
+#define assert(what)   PERL_DEB(                                       \
+       ((what) ? ((void) 0) :                                          \
+           (Perl_croak_nocontext("Assertion %s failed: file \"" __FILE__ \
+                       "\", line %d", STRINGIFY(what), __LINE__),      \
+           (void) 0)))
 #endif
 
 struct ufuncs {
End of Patch.

Reply via email to