Subject: | syck.h: clash with already defined DEBUG macro |
The attached patch makes sure that DEBUG is undefined before syck.h is
loaded. DEBUG may be defined in a debugging perl. Otherwise I get this error
syck.h:54:3: missing binary operator
with a self-compiled perl5.8.0 on a RedHat 8.0 system.
Regards,
Slaven
--- Syck.xs.orig 2005-12-27 12:57:00.000000000 +0100
+++ Syck.xs 2005-12-27 12:57:21.000000000 +0100
@@ -1,6 +1,7 @@
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
+#undef DEBUG /* maybe defined in perl.h */
#include <syck.h>
/*