randyk 2004/07/12 07:27:49
Modified: glue/perl/xsbuilder apreq_xs_tables.h
Log:
demand perl-5.8.1 or better to define APREQ_XS_TABLE_USE_KEY_MAGIC,
as PERL_MAGIC_vstring is needed.
Revision Changes Path
1.10 +7 -1 httpd-apreq-2/glue/perl/xsbuilder/apreq_xs_tables.h
Index: apreq_xs_tables.h
===================================================================
RCS file: /home/cvs/httpd-apreq-2/glue/perl/xsbuilder/apreq_xs_tables.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- apreq_xs_tables.h 11 Jul 2004 21:53:16 -0000 1.9
+++ apreq_xs_tables.h 12 Jul 2004 14:27:49 -0000 1.10
@@ -94,8 +94,14 @@
const char *val;
};
-/* Comment this define out if perl still chokes on key magic */
+/*
+** Comment the define of APREQ_XS_TABLE_USE_KEY_MAGIC out
+** if perl still chokes on key magic
+** Need 5.8.1 or higher for PERL_MAGIC_vstring
+*/
+#if PERL_REVISION == 5 && PERL_VERSION == 8 && PERL_SUBVERSION >= 1
#define APREQ_XS_TABLE_USE_KEY_MAGIC
+#endif
#ifdef APREQ_XS_TABLE_USE_KEY_MAGIC