OSDN Git Service

Fix: redefinition of macro SP (workarround).
[nkf/nkf.git] / NKF.mod / NKF.xs
index 1de2a7c..5b1c9c7 100644 (file)
@@ -95,7 +95,10 @@ nkf_putchar_grow(unsigned int c)
 
 #define PERL_XS 1
 #include "../utf8tbl.c"
+#undef SP
 #include "../nkf.c"
+#undef SP
+#define SP sp /* perl's CORE/pp.h */
 
 /* package defenition  */