[perl #57176] Including XSUB.h before perl.h gives nasty error
fawaka@gmail.com (via RT) [Sun, 25 Jan 2009 18:24:16 +0000 (19:24 +0100)]
XSUB.h

diff --git a/XSUB.h b/XSUB.h
index 2d95b1e..5334cfc 100644 (file)
--- a/XSUB.h
+++ b/XSUB.h
@@ -415,12 +415,6 @@ Rethrows a previously caught exception.  See L<perlguts/"Exception Handling">.
 #endif
 
 #include "perlapi.h"
-#ifndef PERL_MAD
-#  undef PL_madskills
-#  undef PL_xmlfp
-#  define PL_madskills 0
-#  define PL_xmlfp 0
-#endif
 
 #if defined(PERL_IMPLICIT_CONTEXT) && !defined(PERL_NO_GET_CONTEXT) && !defined(PERL_CORE)
 #  undef aTHX