Subject: | patch for win32 |
Date: | Mon, 07 Sep 2009 17:03:06 +0200 |
To: | bug-Devel-Declare [...] rt.cpan.org |
From: | David BouyssiƩ <david.bouyssie [...] ipbs.fr> |
Devel::Declare (5.0011) don't compile on win32 5.8.9 (active state)
here is a patch for Devel::Declare (5.0011) tested on this platform
(nmake test ok)
thanks to Taro Nishino
--- stolen_chunk_of_toke.c.orig Fri Aug 14 08:49:28 2009
+++ stolen_chunk_of_toke.c Fri Aug 14 14:44:51 2009
@@ -102,6 +102,14 @@
#if PERL_REVISION == 5 && PERL_VERSION == 8 && PERL_SUBVERSION >= 8
#define PERL_5_8_8_PLUS
+static char **
+Perl_Ilinestart_ptr(pTHX) {
+ return &(aTHX->Ilinestart);
+}
+static SUBLEXINFO *
+Perl_Isublex_info_ptr(pTHX) {
+ return &(aTHX->Isublex_info);
+}
#endif
#if PERL_REVISION == 5 && PERL_VERSION > 8