[Namazu-cvs 851] r263 - Search-Namazu/trunk/Search-Namazu

cvsd @ vaj.namazu.org cvsd @ vaj.namazu.org
2006年 6月 6日 (火) 15:33:56 JST


Author: knok
Date: 2006-06-06 15:33:56 +0900 (Tue, 06 Jun 2006)
New Revision: 263

Modified:
   Search-Namazu/trunk/Search-Namazu/ChangeLog
   Search-Namazu/trunk/Search-Namazu/Namazu.xs
Log:
Define SvPV_nolen if it is not defined.


Modified: Search-Namazu/trunk/Search-Namazu/ChangeLog
===================================================================
--- Search-Namazu/trunk/Search-Namazu/ChangeLog	2006-05-29 22:52:46 UTC (rev 262)
+++ Search-Namazu/trunk/Search-Namazu/ChangeLog	2006-06-06 06:33:56 UTC (rev 263)
@@ -1,3 +1,7 @@
+2006-06-06  NOKUBI Takatsugu  <knok @ daionet.gr.jp>
+
+	* Namazu.xs: Define SvPV_nolen if it is not defined.
+
 2006-05-30  NOKUBI Takatsugu  <knok @ daionet.gr.jp>
 
 	* Bumped version 0.94dev. 

Modified: Search-Namazu/trunk/Search-Namazu/Namazu.xs
===================================================================
--- Search-Namazu/trunk/Search-Namazu/Namazu.xs	2006-05-29 22:52:46 UTC (rev 262)
+++ Search-Namazu/trunk/Search-Namazu/Namazu.xs	2006-06-06 06:33:56 UTC (rev 263)
@@ -53,6 +53,9 @@
 #if !defined(PL_sv_undef) && defined(sv_undef)
 #define PL_sv_undef sv_undef
 #endif
+#if !defined(SvPV_nolen) /* for perl 5.005 */
+#define SvPV_nolen(x) SvPV(x, PL_na)
+#endif
 
 #define SEARCH_NAMAZU_FIELDS 5
 #define SCORE "//score"




Namazu-cvs メーリングリストの案内