This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
IV changes for long long (was Re: 5.004_68 on its way to the CPAN)
[perl5.git] / mg.h
diff --git a/mg.h b/mg.h
index 1490470..16efdb5 100644 (file)
--- a/mg.h
+++ b/mg.h
@@ -7,6 +7,9 @@
  *
  */
 
+#ifdef STRUCT_MGVTBL_DEFINITION
+STRUCT_MGVTBL_DEFINITION;
+#else
 struct mgvtbl {
     int                (CPERLscope(*svt_get))  _((SV *sv, MAGIC* mg));
     int                (CPERLscope(*svt_set))  _((SV *sv, MAGIC* mg));
@@ -14,6 +17,7 @@ struct mgvtbl {
     int                (CPERLscope(*svt_clear))        _((SV *sv, MAGIC* mg));
     int                (CPERLscope(*svt_free)) _((SV *sv, MAGIC* mg));
 };
+#endif
 
 struct magic {
     MAGIC*     mg_moremagic;