Shut up a warning "DPPP_newSVpvn_flags defined but not used"
gfx [Tue, 3 Nov 2009 02:38:06 +0000 (11:38 +0900)]
mouse.h
xs-src/Mouse.xs

diff --git a/mouse.h b/mouse.h
index 8f543c5..9c12498 100644 (file)
--- a/mouse.h
+++ b/mouse.h
@@ -6,7 +6,6 @@
 #include <perl.h>
 #include <XSUB.h>
 
-#define  NEED_newSVpvn_flags
 #include "ppport.h"
 
 /* for portability */
index e4f8a34..a905f63 100644 (file)
@@ -1,3 +1,4 @@
+#define  NEED_newSVpvn_flags_GLOBAL
 #include "mouse.h"
 
 SV* mouse_package;