Change 27781 by [EMAIL PROTECTED] on 2006/04/12 23:17:18

        D'oh! Don't try to do #ifdefs inside "functions" that are actually
        macros.

Affected files ...

... //depot/perl/hv.c#307 edit

Differences ...

==== //depot/perl/hv.c#307 (text) ====
Index: perl/hv.c
--- perl/hv.c#306~27780~        2006-04-12 15:49:58.000000000 -0700
+++ perl/hv.c   2006-04-12 16:17:18.000000000 -0700
@@ -2716,11 +2716,14 @@
     }
     flags = value_type;
 
-    he = PerlMemShared_malloc(sizeof(struct refcounted_he) - 1
 #ifdef USE_ITHREADS
+    he = PerlMemShared_malloc(sizeof(struct refcounted_he) - 1
                              + key_len
-#endif
                              + key_offset);
+#else
+    he = PerlMemShared_malloc(sizeof(struct refcounted_he) - 1
+                             + key_offset);
+#endif
 
 
     he->refcounted_he_next = parent;
End of Patch.

Reply via email to