Subject: | "croak_xs_usage" not defined for perl 5.6 |
Hi,
At least, on my win32 build of perl-5.6.2, "croak_xs_usage" is not
defined. I therefore need to apply the following patch to FastCalc.xs
in order to build this module using that antiquated build of perl:
=================================
--- FastCalc.xs_orig Sun Dec 12 19:43:18 2010
+++ FastCalc.xs Sun Dec 12 19:43:46 2010
@@ -7,6 +7,10 @@
# define SvUOK(sv) SvIOK_UV(sv)
#endif
+#ifndef croak_xs_usage
+# define croak_xs_usage croak
+#endif
+
double XS_BASE = 0;
double XS_BASE_LEN = 0;
=================================
Cheers,
Rob