I think for now these have to be disabled by default.
Nicholas Clark [Wed, 25 May 2005 10:02:07 +0000 (10:02 +0000)]
p4raw-id: //depot/perl@24572

av.h
hv.h

diff --git a/av.h b/av.h
index a1f0259..488e098 100644 (file)
--- a/av.h
+++ b/av.h
@@ -26,7 +26,7 @@ struct xpvav {
     HV*                xmg_stash;      /* class package */
 };
 
-#if 0
+#if !defined(PERL_EXPERIMENTAL_LAYOUT)
 typedef struct xpvav xpvav_allocated;
 #else
 typedef struct {
diff --git a/hv.h b/hv.h
index ddbdd80..d53bfaf 100644 (file)
--- a/hv.h
+++ b/hv.h
@@ -63,7 +63,7 @@ struct xpvhv {
 #define xhv_aux xnv_u.xnv_s.xnv_p1
 #define xhv_keys xnv_u.xnv_s.xnv_u2.xnv_i2
 
-#if 0
+#if !defined(PERL_EXPERIMENTAL_LAYOUT)
 typedef struct xpvhv xpvhv_allocated;
 #else
 typedef struct {