summaryrefslogtreecommitdiff
path: root/mg.h
diff options
context:
space:
mode:
authorDouglas Lankshear <doug@lankshear.net>1998-06-19 03:59:50 -0700
committerGurusamy Sarathy <gsar@cpan.org>1998-06-21 06:27:57 +0000
commit0f4eea8fa1779e08575278392ed398ffeda6dcd2 (patch)
treec54698f2d90c2834241f5b59fd235394221bc509 /mg.h
parent01ae956fe72e02d2484c49d0844f75517893b01d (diff)
downloadperl-0f4eea8fa1779e08575278392ed398ffeda6dcd2.tar.gz
applied patch, along with many changes:
- ipfoo.h headers have been coalesced along with perlfoo.h into iperlsys.h - win32/cp*.h have been combined in perlhost.h - CPerlObj::PerlParse() takes an extra xsinit arg - tweaks to get dl_win32.xs compiling again w/ PERL_OBJECT Message-Id: <000001bd9b8c$0417fe90$a32fa8c0@tau.Active> Subject: RE: [PATCH 5.004_67] Fixes for broken MS compiler p4raw-id: //depot/perl@1172
Diffstat (limited to 'mg.h')
-rw-r--r--mg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/mg.h b/mg.h
index 1490470218..16efdb5d7a 100644
--- 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;