Add tiny tweaks stolen from Class::XSAccessor 1.07
gfx [Tue, 17 Aug 2010 10:27:06 +0000 (19:27 +0900)]
mouse.h

diff --git a/mouse.h b/mouse.h
index 2c57da0..b4f63ec 100644 (file)
--- a/mouse.h
+++ b/mouse.h
@@ -4,7 +4,9 @@
 #define PERL_NO_GET_CONTEXT
 #include <EXTERN.h>
 #include <perl.h>
+#define PERL_CORE
 #include <XSUB.h>
+#undef PERL_CORE
 
 #include "ppport.h"