# New Ticket Created by  "Senaka Fernando" 
# Please include the string:  [perl #52332]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=52332 >


There is a build failure when using the configure option --gc=libc. The
attached patch solves this issue.

Regards,
Senaka
Index: src/headers.c
===================================================================
--- src/headers.c	(revision 26625)
+++ src/headers.c	(working copy)
@@ -769,7 +769,11 @@
 
 static int
 sweep_cb_buf(PARROT_INTERP, ARGMOD(Small_Object_Pool *pool), SHIM(int flag),
+#ifdef GC_IS_MALLOC
+        ARGIN(void *arg))
+#else
         SHIM(void *arg))
+#endif
 {
 #ifdef GC_IS_MALLOC
     const int pass = (int)(INTVAL)arg;

Reply via email to