OSDN Git Service
(root)
/
nkf
/
nkf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: redefinition of macro SP (workarround).
[nkf/nkf.git]
/
NKF.mod
/
NKF.xs
diff --git
a/NKF.mod/NKF.xs
b/NKF.mod/NKF.xs
index
1de2a7c
..
5b1c9c7
100644
(file)
--- a/
NKF.mod/NKF.xs
+++ b/
NKF.mod/NKF.xs
@@
-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 */